Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert a variable value into a reserve word
Message
From
16/04/2004 15:22:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Convert a variable value into a reserve word
Miscellaneous
Thread ID:
00895682
Message ID:
00895682
Views:
61
I want to pass a value into a variable and convert it to a reserve word.
I want to make the sorting dynamic like ASC or DESC. Any Suggestion?

FUNCTION TEST
LPARAMETER lpSORT

SELECT * FROM DATABASE1!TABLE1 WHERE ;
ORDER BY column1 lpSORT

ENDFUNC
Next
Reply
Map
View

Click here to load this message in the networking platform