Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference one form from another
Message
De
22/07/2000 02:38:01
 
 
À
19/07/2000 16:17:31
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00393630
Message ID:
00395846
Vues:
15
Hi Jimmy

>> The trouble I'm having with this is that I don't know how to remove the last appended record when the user is ready to end the add mode. <<

Without knowiung how you have structured your application, it is difficult to give you specific advice here. Basically, all you have to do when the user ends continuous add mode is to check for a blank record. Code something like this would work:
lcFldState = GETFLDSTATE( -1, 'MyAlias' )
IF ! IsNull( lcFldState ) AND lcFldState = REPLICATE( '3', LEN( lcFldState ) )
  *** This is a newly appended and blank record
  TABLEREVERT( .F., 'MyAlias' )
ENDIF
Or is there some difficulty here that I am missing?

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform