Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does it work alone but not in EXE?
Message
 
 
À
27/04/2003 13:58:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00781993
Message ID:
00782052
Vues:
10
>I have some code that creates a cursor with SQL-SELECT.
>
>After that cursor is created I create another one with the same structure as the one that was created with SQL-SELECT.
>
>This new cursor will contain almost all the data that was in the cursor created with the SQL SELECT.
>
>The only difference will be that some records won't be there based on a certain criteria.
>
>I tested that part alone in a prg. Everything is fine.
>
>SO I compile my App and generate an EXE. In the EXE I create the report that will contain the records. When I look at the report from the EXE I have 19 pages containing all the same record (last one that was created on the cursor) instead of 19 pages of different records.
>
>Anyone knows what I should do to correct that behavior?

Hi Denis,

It sounds like some other cursor/table is open in the current work area. Not the one you expected. It may happen if you're running report from the form with grid on it. See Forms with Grids and printing reports FAQ #15515.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform