Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Filter to
Message
 
To
07/03/2003 00:13:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00762585
Message ID:
00762604
Views:
13
You can try this:


cFiltExpr = "cust_id = " + pCustID && If the Type of pCustId is char

cFiltExpr = "cust_id = " + STR(pCustID) && If the Type of pCustId is num

SET FILTER TO &cFiltExpr


HTH

Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform