I am using VB6, CR8.5 and OCX - as everyone probably knows by now! ;o)
I have created a combobox on a form which loads up with dates in the form of 06/01/2001, etc.
On my report, I have created a parameter field called PDate which is the type Date and also have a database field called received_date which has the following formula:
{Claim.received_date} = {?PDate}
Running within CR, it prompts me for a date and seems to run correctly. When attempting to pass the combobox text from VB using:
.ParameterFields(0) = "PDate;" & Combo1.Text & ";TRUE;"
I get an "Invalid Parameter Field Error".
Searching through the forum I have not been able to find anything that helps me out. Any help would be greatly appreciated!
TIA
I have created a combobox on a form which loads up with dates in the form of 06/01/2001, etc.
On my report, I have created a parameter field called PDate which is the type Date and also have a database field called received_date which has the following formula:
{Claim.received_date} = {?PDate}
Running within CR, it prompts me for a date and seems to run correctly. When attempting to pass the combobox text from VB using:
.ParameterFields(0) = "PDate;" & Combo1.Text & ";TRUE;"
I get an "Invalid Parameter Field Error".
Searching through the forum I have not been able to find anything that helps me out. Any help would be greatly appreciated!
TIA