flaniganmj
Technical User
Howdy All,
I am using a form for selection of data criteria and from that I am building and SQL statemtent in which I was planning on using in the OpenArgs arguement of DoCmd.OpenReport. In the report OnOpen I use Me.ControlSource = Me.OpenArgs. This should work, I am little rusty with Access, as I have not used it in awhile. The OpenArgs is comming accross as Null, and I am getting an 'Invalid use of Null' error. I am doing something very simple wrong. Any help is appreciated.
Thanks,
flan
I am using a form for selection of data criteria and from that I am building and SQL statemtent in which I was planning on using in the OpenArgs arguement of DoCmd.OpenReport. In the report OnOpen I use Me.ControlSource = Me.OpenArgs. This should work, I am little rusty with Access, as I have not used it in awhile. The OpenArgs is comming accross as Null, and I am getting an 'Invalid use of Null' error. I am doing something very simple wrong. Any help is appreciated.
Thanks,
flan