I have the following statement in VBA that works fine on a .MBD Database, But does not work on a .ADP Project. The error is 'Incorrect syntax near '#'
Can anybody tell me the correct format for .ADP
Me.Form.RecordSource = "select * from qry_leave WHERE [startdate] = #" & Format(me.parent![Startdate], "mm/dd/yyyy" & "#"
Cheers
carlp69
Can anybody tell me the correct format for .ADP
Me.Form.RecordSource = "select * from qry_leave WHERE [startdate] = #" & Format(me.parent![Startdate], "mm/dd/yyyy" & "#"
Cheers
carlp69