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

modifying query form using

Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » Modifying a query from a form using VBA

Modifying a query from a form using VBA

ResolvedVersion 2003

Emma has attended:
Access VBA course

Modifying a query from a form using VBA

Hi, I want to modify a query from a form using VBA. I have created a calander in a form. From the calander, you select a date, then copy this to a text box using the command Me.BeginningDate = Me.ReportCal.Value

I thne want to copy this date into a a pre-existing query, so I can query on this date (or on any other date), just by selecting the date from the calander.

Thanks

RE: Modifying a query from a form using VBA

Hello Emma

Thank you for your query and welcome to the forum.

Firstly apologies for the unusually long delay in response.

We offer the forum service to all our delegates to answer questions related directly to content of courses they have attended with us.

While we are happy to support and advise our delegates in the manner that the forum was intended, there will be instances where we choose to advise delegates that we can only assist in a consultative role which would involve dedicated time from a trainer, and be billable.

If you are interested in taking this option forward to resolve any remaining issues with your spreadsheet, please contact our enquiries team to discuss your requirement on phone number.

Kind regards
Amanda

 

Training courses

Training information:

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

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.