Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reports printing partial info from multiple records
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00006026
Message ID:
00006038
Vues:
58
>>FPW 2.6a, WFW 3.11
>>
>>Problem: In an multi-user environment report starts printing one record and by the end of the report it's printing info from the next record.
>>
>>#1 user does a SAVE and when prompted to print says YES
>>
>>#2 user does a SAVE rights as #1 user says YES to print
>>
>>All the data saves properly for both new records, but #1 users report has part of the correct data at the header, but the wrong detail records print out. #2's report print all correct data.
>>
>>It is a 1 to many relation with a SET SKIP TO child.
>>
>>It all works fine until (2) users are on and only when they both do saves at the same time.
>>
>>Does a REPORT FORM not follow the skip
>>
>>nInum = DBF.Inum
>>REPORT FORM WHILE nInum = DBF.Inum TO PRINT
>>
>>Why would someone else appending a new record affect what the other user is printing?
>>
>>Any Help Gratefully Accepted
>
>Ricky
>
>As a general rule of thumb I put report output to a SQL cursor & then run the report from the cursor. This saves me many problems.
>
>Tom

Thanks Tom,

The app is at a hospital and I didn't write it. The code looked like it should work so I didn't want to make alot of changes. Guess I'll have to!

Ricky
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform