Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETNEXTMODIFIED() detect add new rec
Message
De
23/11/2006 09:12:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/11/2006 07:05:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01172021
Message ID:
01172043
Vues:
18
>Does anyone know if GETNEXTMODIFIED() detects the addition of (maybe several) records to a buffered table, obviously, before TableUpdate() is issued?
>
>The new records will have had fields filled in before saving.
>
>'ppreciate it
>
>Terry

Hey Terry,
It's all about GetNextModified() :)
ie:
lnNext = GetNextModified(0)
do while m.lnNext # 0
  go m.lnNext
  if m.lnNext < 0 && new record
*...
  else && update
*...
  endif
  lnNext = GetNextModified(m.lnNext)
enddo
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform