Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add lookup values 'On the fly' in MMF
Message
De
16/02/2000 14:24:00
 
 
À
16/02/2000 13:34:58
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00332839
Message ID:
00333037
Vues:
11
Rex,

Ignore the last post from me. I sent it by accident. You have a sticky situation.

Commandbutton.click()
Thisform.oBizobj.CustomSave()

Primarybizobj.CustomSave()
IF vartype(oChildbizobj) = 'O'
   IF oChildBizobj.Save() = FILE_OK
     lcChildID = v_childview.childID
     llContinue = .t.
   ELSE
      oChildBizobj.Cancel()
   ENDIF
   IF llContinue
     REPLACE v_primaryview.value WITH lcChildID
     IF THIS.SAVE <> FILE_OK
        This.Cancel()
     ENDIF
   ENDIF
ENDIF
Another option would be to wrap everything in a transaction on the form level and switch out bizobjects as you need them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform