daisypolly
Programmer
Hi,
I am passing the parameter to the data report with this
Code:
If detest.rscmdTest.State = adStateOpen Then
detest.rscmdTest.Close
End If
a = InputBox("Type the action date")
b = InputBox("Examiner name")
c = InputBox("Section")
detest.cmdtest a, b, c
reportrptTest.Show
The problem I am having is that as soon as I group in the command box I start getting errors. Please help me this is driving me crazy.
The name of my group is cmdgrp. The error where it gives in the code above is red.
detest is the name of my data envirnoment.
cmdTest is the name of my command object.
rptTest is the name of my report.
cmdgrp is the name of my grouping.
The error I am getting is: Member or data member not found.
I can get rid of this error if i change rscmdTest to rscmdgrp then I start getting the error on this line:detest.cmdtest a, b, c. Basically on the cmdtest word.Thanks Again.I attached the picture of my data envirnoment before and after grouping.
Thanks
Daisy
I am passing the parameter to the data report with this
Code:
If detest.rscmdTest.State = adStateOpen Then
detest.rscmdTest.Close
End If
a = InputBox("Type the action date")
b = InputBox("Examiner name")
c = InputBox("Section")
detest.cmdtest a, b, c
reportrptTest.Show
The problem I am having is that as soon as I group in the command box I start getting errors. Please help me this is driving me crazy.
The name of my group is cmdgrp. The error where it gives in the code above is red.
detest is the name of my data envirnoment.
cmdTest is the name of my command object.
rptTest is the name of my report.
cmdgrp is the name of my grouping.
The error I am getting is: Member or data member not found.
I can get rid of this error if i change rscmdTest to rscmdgrp then I start getting the error on this line:detest.cmdtest a, b, c. Basically on the cmdtest word.Thanks Again.I attached the picture of my data envirnoment before and after grouping.
Thanks
Daisy