I have creted a formula changing date format from number to Date.I want to be able to select this formula 'coz when I select all I see is database fields.
I think you miss the point of what DGillz is getting at.
What do you want to acheive with your parameter?
Do you want the user to select a date or date range?
Do you then want to use this date to select relevant records only or to reference within the point for a paricular purpose, or both?
If (Using a very basic example on purpose) for example your formula was
//{@Numtodate}
cdate({table.datenumber})
You could then add a straight forward date range parameter allowing the user to specify their own dates (without showing database format dates) and then within the selection criteria specify as follows:
cdate({table.datenumber}) in minimum({?daterange}) to maximum({?daterange})
Or similar.
We need more information to answer your question more effectively.
Try to always include the following information in your posts:
Crystal version
Connectivity
Data source
Sample data
Desired output
If you have a parameter they can enter a date (or date range) in then bring up record selection formula editor and add in a line something like this:
{@myDateFormula} = {?MyDateRange}
If your formula is already converting the field to date format then this should work. Alternatively you could take the guts of the formula and use it in the selection itself:
cdate({table.datenumber}) = {?MyDateRange}
as CR85user suggested...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.