Information générale
Catégorie:
Codage, syntaxe et commandes
>I am trying to use the following code in an EXE
>
>USE abc
>MODIFY REPORT test
>
>Now, I expected that when I add a textbox to the report, I could use the expression builder and select the fields from the abc table from within the Expression Builder (there is a listbox for "Fields"). It used to work in Previous Foxpro versions. Now it does not work anymore. The users are having to remember(guess) the field names in the abc table. This particularly becomes a problem when abc is a cursor generated by a SQL select.
>
>Can anybody help me?
>
>Thanks in advance.
>
>Rahul C.
Either your report, or your form, or both are using a private data session. But, basically, the report is not looking in the same data session that your table is open in.
You could either open the table in the reports data environment, or make sure that your form is using Default Data Session and so is the Report... or, if your form is using Private Data Session and the report is using Default Data Session, this should work too.
BOb
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement