Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse issue
Message
De
11/01/2004 19:56:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/01/2004 18:46:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00865787
Message ID:
00865885
Vues:
16
>Hi Lisa,
>
>You're right, the report is pointing to another cursor. How can I force it to pointing the proper cursor? TIA

The safest way to avoid confusion is to eliminate data from the report's dataenvironment alltogether. In this case, whatever table or cursor is SELECTed when you run the report will be used.
* The following will prepare a cursor, and change the work area to the new cursor automatically:
select * from Client;
  order by ClientName;
  into cursor TempReport
* The following report will use cursor TempReport, provided
* it has nothing in the dataenvironment,
* and provided you don't insert other commands that SELECT a different
* work area:
report form ClientList to printer prompt
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform