Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing blank reports from preview
Message
De
20/09/2005 06:21:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01050188
Message ID:
01051179
Vues:
29
Hi Cathy,

Thanks a lot for that. I have 4 reports where this problem happens and your suggestion of setting the "InitialSelectedAlias" property worked for 1 of them but not the others.

Thanks for that fix anyway.

>>I think you're on to something here Sergey.
>>When the report comes up in Preview the correct alias (c_incal) appears but on the printout the wrong alias (workpriv) is there.
>>In the Data Environment Init, I have the code:
>>Select c_Incal
>>Go Top
>>
>>Is there somewhere else I can put this code so that it will print the correct cursor?
>
>If you use the data environment to open the table, you don't need that code. Instead, just make sure the "InitialSelectedAlias" property of the data environment has c_Incal selected.
>
>Another thing to check is to see if you have any method or UDF calls that happen to switch the table. For example, maybe at the end of the report you try to update a "printed" flag in a table so you end up switching to a different table. Just make sure you restore the correct alias whenever you do something like this.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform