|
-
Oct 6th, 2010, 11:18 PM
#1
Thread Starter
New Member
MS Access - how to store a query value in a variable
I need to store a query value ( this is a max(fieldname) from a table) into a global variable. the field name is an autonumber in a table. On a form i have a textbox and I want the value of that textbox to be my global variable. then i want to create a query with a new field, and the field to be the valule of my textbox. How can I do this in VBA? I appreciate all of your assistance.
I'm using MS Access 2007 on a Windows XP machine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|