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
Problem getting Bala Boss working
Locking Field On Continuous Form
CString in fprintf
Copy worksheets to new workbook
Trying to pass a SQL parameter to crystal reports in a command statement
Trigger on record insert
Allowing earlier dates in datetime picker control than 1753
How do I get rid of double contacts in Outlook?
How to copy all the Children of an InkCanvas to another inkCanvas
Access 2003 NOT IN (select subquery) doesn't work