Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Report
Message
 
 
À
01/05/2013 14:38:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01572323
Message ID:
01572392
Vues:
44
>>>I am facing problems with reports (.FRX). Initially I created reports using .DBF files and it was working fine. Now, I changed the code and instead of DBF files I created cursor as I need not need Data to store the permennantly. So in my code i created Cursors.
>>>
>>>But Now when I generate the report, it comes totally blank. The name of DBF file and cursor were same. I also removed the earlier Data environment but it didn't worked.
>>>
>>>What to do ?
>>
>>Are you using AliasName.columnname for your fields in the report? If so, make sure to remove the AliasName.
>>
>>Also, are you sure your cursor does have data? Can you add browse normal right before calling the report?
>>
>>Finally, are you calling this report from the form with a grid? If yes, make sure that focus is set on some other object than the grid.
>
>I could browse the cursor But due to the codes in between the other cursor becomes active before the report is called. I could preview the report if I manually enter commant in command window as "select Mycursor" and then I preview the report.
>
>I also tried to open my cursor in Data Environment of My Report by keeping the following code in Int() method of data environment property like "select mycursorname" and in the destroy () USE in Mycursorname. But it also didn't worked.
>
>Previously, I was using DBF files instead of cursor so there was no problem as to which is the active file in use currently.
>
>Is is possible to open cursor through DATA ENVIORNMENT of Report and close it down when the report is exit. If yes, kinldy tell what and where I have to make changes

You didn't answer my questions.

1. Do you call the report from a form with a grid?

2. Can you post code creating that cursor and calling the report?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform