Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select with expression for selected fields
Message
From
04/04/2001 02:07:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Select with expression for selected fields
Miscellaneous
Thread ID:
00491708
Message ID:
00491708
Views:
51
Hi all

I have one array with the field names from a file, like
aFields(1,1)='c_nome'
aFields(2,1)='c_descri'
etc..
but the array have for sometimes 2 fields and other times 5 or 10,


It's possible to build a select by referente like
....
CExpression=CExpression+aCampos(nCnt,1)+','
....
select cExpression from table into cursor cursor1
Thanks's in advance,

João Batista
Next
Reply
Map
View

Click here to load this message in the networking platform