Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting records to non modified in a table buffered view
Message
From
22/05/2002 06:38:51
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00659428
Message ID:
00659802
Views:
25
Hi Frank

Thanks for your repoly. The problem I have is that I’m using a frame which triggers some methods that checks if business object’s cursors have changed. This is done deep into the code of the frame classes, so there is no chance to alter the code without affecting the overall functioning of the frame.

Oscar



>>
>>The problem is that the GetNextModified function somehow
>> still detects those records as modified.
>>
>
>Yes, you're right. I've just played with it and found that
>you can reset the field's state but GetNextModified() does
>not care.
>
>You can do something like that to build a bridge
>
>
>ln_Rec = GetNextModified(..)
>if ln_Rec > 0
>  go ln_Rec
>  ll_IsChanged = len(GetFldState(-1,"<ALIAS>")) # fcount(">ALIAS>")+1
>  if ll_IsChanged
>      do whatever
>  else
>      don't care
>  endif
>endif
>
>
>BTW what do you need that for? I have done things with setFieldstate()
>and Tableupdate seemed to respect that
>
>HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform