Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting records to non modified in a table buffered view
Message
 
To
21/05/2002 11:45:02
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00659428
Message ID:
00659787
Views:
29
>
>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
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform