access runtime

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Access Training and help » Access Run-time

Access Run-time

resolvedResolved · Medium Priority · Version 2003

Neal has attended:
Access Advanced course

Access Run-time

I have created marcos to 'send email' and 'save data to as excel to a specific folder'. When the Run-time user opens the database and click the button on the switchboard the marco errors.
Why?
Any suggestions?
Thanks

RE: Access Run-time

Hi Neal

Thank you for your question

Having researched the problem, it seems that you need to write error handling code in VBA when working with code in Access Runtime. As a consequence Microsoft do not recommend using macros in Access Runtime.

Ideally you should replace your macros with VBA modules

You might find the following link useful

http://msdn.microsoft.com/en-us/library/aa164462 (office.10).aspx

Regards

Stephen

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Access tip:

Closing form after a certain time period

To make a form close automatically after a certain time period, you need to assign the close function to a macro.

Save the macro and ope up the form in design view. open the Properties sheet.

In the TimerInterval property enter the length of time you want the form open for. This should be in milliseconds, so for instance if you want the form open for 5 seconds enter 5000, for an minute enter 60000.

You now need to attach your macro (to execute the Close action) to the OnTimer event property of the form.



View all Access hints and tips


Server loaded in 0.08 secs.