Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create temp table and use it in report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00558841
Message ID:
00558886
Vues:
27
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform