Advisedwolf
New member
- Local time
- Today, 02:51
- Joined
- Mar 19, 2018
- Messages
- 3
Hi
Sorry about this, but after a million variations of the below script and seeking online examples, I am seeking help with the below line of code.
The principle is to Open the Form "FRM_WorkRecord_Header", finding the appropriate record based on three criterias - taken from a listbox on the current user form.
Everywhich way I try this, I receive a data mismatch, or some other error code. I have failed to spot my error with the below.
Client Address = Text String
Client Number = Text String
ScheduledDateofJob = Date
DoCmd.OpenForm "FRM_WorkRecord_Header", acNormal, ,
("[ClientAddress]=" & "'" & [LST_Activities].Column(1) & "'") And ("[ClientNumber]=" & "'" & [LST_Activities].Column(3) & "'") And ("[ScheduledDateofJob]=" & "#" & [LST_Activities].Column(0) & "#")
thanks in advance
Gavin
:banghead:
Sorry about this, but after a million variations of the below script and seeking online examples, I am seeking help with the below line of code.
The principle is to Open the Form "FRM_WorkRecord_Header", finding the appropriate record based on three criterias - taken from a listbox on the current user form.
Everywhich way I try this, I receive a data mismatch, or some other error code. I have failed to spot my error with the below.
Client Address = Text String
Client Number = Text String
ScheduledDateofJob = Date
DoCmd.OpenForm "FRM_WorkRecord_Header", acNormal, ,
("[ClientAddress]=" & "'" & [LST_Activities].Column(1) & "'") And ("[ClientNumber]=" & "'" & [LST_Activities].Column(3) & "'") And ("[ScheduledDateofJob]=" & "#" & [LST_Activities].Column(0) & "#")
thanks in advance
Gavin
:banghead: