MartinDurant
Programmer
I am using VB6 and CR8.5. I have a report which is an event register - a list of names and a tick box to allow attendance to be recorded. The list of names is coming from my database, but I need to put the event name at the top of the report. The event name is being selected by the user from a drop-down list. I am trying to pass this string value as a parameter, and get an "Enter Parameter Values" dialog box displayed with my string in it. I select OK and my report is fine. How do I stop this dialog box being displayed and get the value straight to my report?
Here is my parameter code (strSelectedEvent is the event name string):
Any help is greatly appreciated.
Martin Durant
Here is my parameter code (strSelectedEvent is the event name string):
Code:
crpEventRegister.ParameterFields(1).AddDefaultValue strSelectedEvent
Any help is greatly appreciated.
Martin Durant