Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save() an empty view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00345629
Message ID:
00345648
Vues:
19
> There are also a "Previous" and "Next" button that lets the user move between weeks. In them I call a Save() to make sure any changed info gets saved. Essentially all I do is loop through dummy view and add/update any changes to v_order. Then I call the bizobj's Save() method. The bizobj has lSaveAllRows set .T. .
>

Paul,

I am not sure about the error you are receiving, but I guess you could simply avoid it by adding code to your save method:

IF RECCOUNT('v_order') > 0
DODEFAULT()
ENDIF

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform