Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report doesn't see field, but it's there
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01229721
Message ID:
01229733
Vues:
8
>>>It does have a grid, but that was not it. The problem was (kind of) the BROWSE NORMAL. Normally my reports are printed from a separate form, which is based on a form class for reporting. In this case, however, the report is printed straight from the data entry form. The Activate of the base class for this form selects the main table for the form. So when I did the BROWSE NORMAL, right after I closed it, the form became active momentarily before the report came up in preview mode. This caused a reselect of the main table for the form and caused the report to fail. Just out of curiosity, I set the focus to the grid and printed the report with no problem Do you have repro code on that grid/report bug or have you just seen it happen at times. Maybe that issue is something similar to what I saw, which was certainly not real obvious.
>>
>>The problem with grid happens every time. I was struggling with it just recently.
>>Re: 3 unrelated files into one report Thread #1219736 Message #1220206
>
>But I had the focus on the grid and clicked the button to print the report (a toolbar button, so it does not get focus) and it printed fine. This was printing only a single record. Don't know if that would make a difference.

Was the grid's rowsource different from the cursor for the Report? Also there may be situations when the report works, but in 90% of cases it would not.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform