Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locate using a combination of fields
Message
 
To
03/04/2002 22:35:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00640694
Message ID:
00640876
Views:
12
Randy,

Caroline and Cetin have shown you how to use the AND operator, however I would caution you that using == means that the vairable has to be equal to the field including any trailing spaces. IOW, If a field named Lname contains Smith and it is 30 characters then;
Table.Lname == "Smith" && .F.
Table.lName = "Smith" && .T.
Table.lName == PADR("Smith",30) && .T.
Previous
Reply
Map
View

Click here to load this message in the networking platform