Article ID: 114670
Article Last Modified on 2/22/2005
*This program uses the Customer table from the Tutorial. SET TALK OFF && stop echo to screen x="State" y="FL" SELECT * ; FROM customer; HAVING EVALUATE(x) = (y) ; INTO CURSOR crsrFlorida BROWSE
*!* This sample uses the Customer table in: *!* VFP 3/5 -- HOME() + "Samples\Data" *!* VFP 6 -- HOME(2) + "Data" SET TALK OFF && stop echo to screen x="Country" y="UK" SELECT * ; FROM CUSTOMER; HAVING EVALUATE(x)=(y); INTO CURSOR crsrUK BROWSEThe output will contain records where the contents of the field whose name is contained in variable x are equal to the contents of variable y.
Keywords: kbhowto KB114670