Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vb data envirnoment help needed badly

Status
Not open for further replies.

daisypolly

Programmer
Apr 28, 2005
38
CA
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top