Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add a table to data environment in code?
Message
 
 
To
29/10/1998 11:22:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00151065
Message ID:
00152380
Views:
23
>Brenda,
>You can add it automatically if you select into a temp table and later erase it. >But it has the problem user also adds alias to new fields. Next time you would >need to process frx programmatically to remove aliases. Yet there is another >better way but fields show in memvar list (advantage you use unaliased >expressions) :

>select * from ;
> home()+"samples\data\customer" ;
> where Contact = trim(thisform.text1.value) ;
> nofilter ;
> into cursor (lcCrs)
>*create report myreport from alias() column
>scatter memvar blank
>modify report myreport
>report form myreport preview


What does the "scatter memvar blank" do? Also, my variable list has lots of other garbage in it. Is there any way to clean it up?

Brenda
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform