Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create temp table and use it in report
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00558841
Message ID:
00558886
Views:
29
The report does not need to know the name of the table.
It will use the current selected table.

Usually your program will create a random table but in order to populate the table your program must know the name

cTable = “RandomName”

select * from Mytable into cursor (cTable)

Tarea = select(cTable)

select Tarea


report form Myreport

on the report just remove the “MyTable.” Part of the expression


_____________________________________________



>I use it as mytable.fieldname. If I wanted to use it as a fieldname do I just in the field expression give that same name as the field name in my table? Also how do select a table that is randomly named in my report? Also, how will the report know name of random table?
>
>Thanks
>Nick Patel
B.D.H.
Previous
Reply
Map
View

Click here to load this message in the networking platform