Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional GetFldState Excluding Specific Fields
Message
From
26/07/2001 10:21:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/07/2001 10:10:10
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00535632
Message ID:
00535674
Views:
17
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform