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
Access 2007 Database Created on Windows & Does Nothing When Opened on XP
Programmatically Setting Order By Property in a Three Level Report
Filter on split form
disable Office 2003 splash screens
How to populate unbound controls on a continuous form in Access 2007
OWA internal connection issue, Exchange 2007 SBS 2008
Not getting print notification pop up in windows xp
Error 84ff System Event Log Full
How to open multiple pdf files in datasheet view
Exporting with TransferText and schema.ini