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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Reports. how to use commands with parameters. 1

Status
Not open for further replies.

rwilliams

Programmer
Aug 9, 2001
17
GB
How do I use commands that require parameters with the data report builder. i.e if i wanted to report all supportcalls from a particular customer.
 
I think this should work.

With deFile
.Commands("comIndividualStakeholders_Grouping")
.Parameters("Stake").Value = frmStakeholderChoice.cboStakeholderName.Text
.Execute
End With

deFile.rscomIndividualStakeholders_Grouping.Open
deFile.Commands("comIndividualStakeholders_Grouping").Execute

drIndividualStake.Show Scott
Programmer Analyst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top