Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add a table to data environment in code?
Message
From
27/10/1998 12:39:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00151065
Message ID:
00151101
Views:
31
>Long story - But the Fields listbox of the Expression Builder of the Report Expression window (wow!), will only show fields of tables in the data environment. I have a temp table that i want added to the data environment so that its fields will show in the Fields List Box.
>
>any ideas?
>
>thanks - brenda
With thisform.dataenvironment && It has one already ? If not createobject(DE)
 .addobject("myTempCursor","cursor")
 .myTempCursor.CursorSource = dbf("crsTemp") && crsTemp is temp cursor
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform