Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One To Many Grids
Message
 
À
06/06/1997 14:59:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00035359
Message ID:
00035715
Vues:
39
>>>There must be something very basic about one-to-many grids that I am missing. I have a typical invoice form with a standard relationship set in the DE between INVHEAD (invoice header) and INVDET (invoice detail) on InvNo. When I page back and forth between invoices, everything works beautifully. However, whenever I add an invoice, here's what happens:
>>>
>>>I get the new detail line data in a modal form, total the invoice (using CALCULATE SUM), and refresh the grid so that the new line will show up. The grid goes blank whenever I refresh it. I have tried SEEKing the InvNo in INVHEAD to re-align things prior to refreshing --to no avail. All of the detail is there--it re-appears as soon as I page back to the target invoice once I have completed it. TABLEUPDATEing the detail has no effect. What am I missing?
>>>
>>>TIA.
>>
>I obviously left out a couple of details. I get the header data in the main form and save it. I then call the modal form, get the detail record therek, save it and release the modal form. The TotalInvoice method is part of the main form. I can see the detail record in VIEW, but I cannot see it when I refresh the grid.
>
>Thanks a lot for the help so far. Any further ideas???

My biggest concern is the details. What you assume can wreck havoc on us poor souls. (s) But heh, what do you want for free? (g)

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform