Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report form without selecting the alias or work area
Message
De
02/12/2003 02:01:55
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
01/12/2003 21:32:17
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00854649
Message ID:
00854913
Vues:
17
>hi,
>thanx for the reply,
>and thats exactly what i ma doing now.
>
>well my question remains ?
>
>can it be possible to run a report withour selecting the work area in my case ?
>
>something like
>
>report form report1 noconsole preview from cursor1
>or some thing like that where the alias is passed as a parameter and the report runs without moving away from the current work area ?

Forgot to mention - no and no is the answer to these. The first won't work because the report always works on the currently selected alias, and the second doesn't exist in the syntax.

You can write some wrapper code, where you'd have the report and the alias name passed as parameters. That code would select the alias, run the report, and restore the alias to what it was before. So you'd write
this.DoReport("report1","cursor4")
That would make your code simpler to read and maintain.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform