Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing field name in the Detail section of Report
Message
 
 
À
09/01/2002 02:34:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00602380
Message ID:
00602447
Vues:
18
Try
EVAL("address." + field(1))   && and so on ...
* if the table is open in the current work area 
*   than you don't need and shouldn't use the table name
EVAL(field(1))
>Problem in the Report Designer (Detail Section)
>-----------------------------------------------
>
>I am using the cross-tab query, every time when query is generate it create new field name. I have problem for getting the information from the table in the Report Desiger (Detail Section)because I do not know the field name. Field() function tell me about the name of field but when I use it with the table name it does not show the information and generate the Error.
>
>For example :
>
>Table name = Address && getting cursor through cross-tab procedure.
>Filed name = field(1) && it show the field name "Street"
>
>When I use this with the table name it generates Error in Designer.It successfully work with the & (Macro substitution) in the command window
>x = field(1)
>?address.&x && work successfully.
>
>When i use it in the textbox in the detail section,it generate error.
>
>I have problem that I do not know the field name but I want to get the information from the table to show in the Report Desinger.
>
>Regards,
>Mobeen.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform