G
Graham Naylor
Hi,
I have a form on which is a sub form, also on the main form is a combo box,
when I change the value in the combo box I want to change the RecordSource
on the sub form.
I can do most of what I want, there are just 2 lines of code I need help
with, these are attached to the combo box:
They need to be like:
Dim sCriteria as string
sCriteria = [Subform].Recordsource - HELP!
various lines changing sCriteria
[SubForm].Recordsource = sCriteria - HELP!
Thanks in advance for the structure of these lines
Graham
I have a form on which is a sub form, also on the main form is a combo box,
when I change the value in the combo box I want to change the RecordSource
on the sub form.
I can do most of what I want, there are just 2 lines of code I need help
with, these are attached to the combo box:
They need to be like:
Dim sCriteria as string
sCriteria = [Subform].Recordsource - HELP!
various lines changing sCriteria
[SubForm].Recordsource = sCriteria - HELP!
Thanks in advance for the structure of these lines
Graham