Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional GetFldState Excluding Specific Fields
Message
De
26/07/2001 10:21:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/07/2001 10:10:10
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00535632
Message ID:
00535674
Vues:
16
>>GetFldState() in itself hard to use IMHO. You might keep a form level property say RecOnEntry and before you start editing :
>>
>>scatter name thisform.RecOnEntry
>>
>>In place of GetFldState :
>>scatter name loCurrent
>>llModified = !compobj(thisform.RecOnEntry,loCurrent)
>
>Cetin,
>
>You are correct. I should have seen the tie between this and another issue you helped with a few weeks ago that used the CompObj() to resolve. This doesn't resolve my primary issue here though...I don't think. Could I somehow scan through the objects and do something?
>
>Renoir

Like finding out the modified one ?
lnMembers = amembers(arrMembers,loCurrent)
for ix=1 to lnMembers
 if thisform.RecOnEntry.&arrMembers[ix] # loCurrent.&arrMembers[ix]
    * modified
    * arrMembers[ix] is field_name
    *....
 endif
endfor
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