Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing criteria to report using variable
Message
From
04/10/2005 13:37:10
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Passing criteria to report using variable
Environment versions
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01055962
Message ID:
01055962
Views:
44
I have a report that runs based on different criteria from a form. I have the actual criteria stored in a variable called CRITERIA.

An example of what the variable contains:

CRITERIA="sku = 'ME1'"


I tried this command...

report form invsold16 preview for criteria

but get an error. I remember, long ago, that there was something that had to be done to get the "value" of the variable to be used instead of the variable name itself.

How do you do this?

Thanks

Pete
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Next
Reply
Map
View

Click here to load this message in the networking platform