Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass Variable from Access to VB

Status
Not open for further replies.

budbeth

Programmer
Oct 29, 2002
31
0
0
US
Does anyone know if this can be done?

I have a Public variable (strItem) in my VBA code and want to pass it to my VB.exe I'm trying to get the VB.exe to grab the variable and use it to find records for my DataGrid.

Any pointers the the right directino are much appreciated...

Beth L
 
Try looking at Command Line Arguments. These are parameters that can be passed to your .exe file and used however you like in your project.

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top