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

Using Parameters in Commands

Status
Not open for further replies.

gavinjb

Programmer
Apr 24, 2003
106
GB
I am connecting to an Access/Jet 4 Database and I am trying to create a Command that uses one Paramater "InvoiceDT", I need to be able to tell crystal to only return rows with an Invoice Date >= "InvoiceDT" Parameter, but when I try this with "[]" or "{}" brackets I get ADO error messages when trying to clicking on OK, any help would be appreciated

Thanks,

Gavin
 
Where are you placing this, and what exactly are you placing in there, and what is the error?

To limit rows in CR, select Report->Edit Selection Formula->Record and place something like:

{table.field} >= {?InvoiceDt}

Now create a parameter field (Insert->Fioeld Object->Rioght click Parameters and select New)

Set the parameter to type date.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top