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

Passing value to formula, want to use it in Select statement

Status
Not open for further replies.

dsangel

Technical User
Jul 25, 2001
4
US
I am passing a value to a formula from VB. The formula is used in the record selection formula. Crystal reports performs a query for all records (no criteria) then does the same query again with the record selection formula as criteria. Is there a way to eliminate the query that returns all records? My idea was to use a parameter, but we don't want the user to have to enter a value. Can I give the paramater a value using the passed variable?
This did not work
[?Parameter] := [@formula] or [?Parameter] = [@formula]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top