MS Access run code on start up mystery - ms-access

I have an Access database than when opened it shows a form, however, this is not a switchboard and I can not see an Autoexec macro that is doing this. Is there any other way a designated form can be display on start up? What am I missing.

Related

Restricted access issue: unable to run a code workbook script to produce a dataset

After previously being able to run code workbook scripts, the run button has now been 'greyed out' with a permissions restriction message saying 'No permission to run in output folder' when I hover over the button.
Does anyone know why this has occurred and how to recover permissions to run?
The error indicates that the output dataset that this step in the workbook produces has been moved to a different location (probably a different project) where you don't have write access.
Try viewing the dataset in Compass (the file browser). This might tell you who has most recently edited it, which could help you find the right person to ask why it was moved. You might not be able to do this if you don't still have discoverer access on the output dataset.
Alternatively, ask your permission administrator or IT team for access to the project it has been moved to / for it to be moved back.

Running an Access Macro with Task Scheduler but want to hide Access whn it Runs. Not See Access Open and Close

I have created an Access Database with Queries and a Macro to manually run the queries when opened. I then set up a Task Schedule to open and run my Access Macro.
The issue is that I have it set to run every time I login to my computer but the issue is I would rather not see the Access Database open and close. Is there a way to run it in the background without even noticing it running?
You may check the security options of your task to see "Run whether the user is logged in or not" option is selected.
As an alternative approach, you may also consider to run your macro from the Timer event of a form in Access.
BR, Caglar

MS Access Stop Triggering Form_Open event

I have written MS Access VBA code.
I have written License code in Form_Open Event. License code is available in the registry. During opening the form, the registry value will be compared with the hard coded value inside the code. If both are same, then it will open the form. If both value are not same, It will displayed the message and close the Access application(Application.Quit), You are not authenticated to use the tool.
Now I forgot the password in the VBA code.
As soon as open the form, due to both value are mismatched, Modal message box is displayed and I could not open the VBA code at all.
I do not know how to disable the Form_Open event.
Please help me to disable the Form_Open event, and open the VBA code.
Hold the Shift key pressed when opening the database to prevent the automatic execution of code or opening of forms.
Then you can open the form in Design view and its code.

How to get Access to auto save my VBA code changes

I'm fed up with Access crashing after I've written and run some code and forgot to manually save it and hence all the new code is gone. How can I get Access to automatically save my VBA code upon, say, compile or run? I don't see any settings in VBA and I don't see any answers to a Google search. (Also, I don't think I've faced this problem in any other IDE.)

How do I simply set up an alert/reminder for dates set in MS Access?

I have a database in MS Access and within it I am holding dates for expirations for SSL's. I want to set a reminder for any SSL that is soon to expire. Anyone know the easiest way to go about this?
It all depends on how you want the notification to work.
You can pop-up a form when the database opens
or at any time using a timer
or in a form event
You can build events into Outlook
You can run some script in the task manager
You can send an email using any of the above.
The easiest way to pop-up a form may be to create a form that runs when the database opens or when the menu form opens. This can be set in the start-up options. The form should be based on a query that checks for out of date records and is only made visible if there is data. You can check the recordset in the load event to see if anything is returned. This for can also use DoCmd.SendObject to send an email.