How do I set a query parameter from a dialog
I have a dialog that has a TfrxDateEditControl named DateFrom.
I would like to use this to set a parameter on my query.
I have my parameter set as [DateFrom.Date]
Running it gives the following error:
Could not convert variant of type (Array Variant) into type (Date)
So, how can I use the TfrxDateEditControl to set the query parameter?
Ta
Sean
I would like to use this to set a parameter on my query.
I have my parameter set as [DateFrom.Date]
Running it gives the following error:
Could not convert variant of type (Array Variant) into type (Date)
So, how can I use the TfrxDateEditControl to set the query parameter?
Ta
Sean
Comments
in the parameter edito
select the parameter type and in value box point it to the dateedit.
Look at the main demo internal datasets reports.
Thanks. The problem was I was wrapping my dialog value in [].
Once I took those off, it was all good.
Sean