Microsoft
Software
Hardware
Network
Question : need help with vba syntax for microsoft access form
I found the code i need to switch the record source automatically but the example i had only used 1 criteria and mine has 2. I am listing below what I tried and failed with.
me.RecordSource= "select * from dbo_ShipInst where Cardcode=" & me.Text0 and Address= & me.Combo23
if you could just let me know what I need to change this to for it work that would be great.
Answer : need help with vba syntax for microsoft access form
use this then,
me.RecordSource= "select * from dbo_ShipInst where Cardcode='" & me.Text0 &"' and Address= '" & me.Combo23 & "'"
Random Solutions
Oracle - Connect by Prior - Two times in single query
Problems with screeen resolution and external monitor on Windows Vista
Handle to CreateProcess
Use the Tab-Key in an Edit Box.
transferring terminal services licenses to a new server
Connect to a Crosstab query in Access from Excel
How do I disable script & execute permission in IIS7 for a specific site subdirectory?
How to change the language used for menus and dialog boxes
SCCM collection not updating after Office upgrade
Urgent System.UnauthorizedAccessE<wbr />xception