Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetNextModified Error!?!?
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00207688
Message ID:
00207689
Views:
11
Nevermind. I have have gone brain dead. Of course there is an error for ROW buffering. The synapses could not associate a discrepancy between a *Table buffering* error message and a row buffering return value. This is what I get for pushing over a 16 hour day.

>Why would the following code return an error on the GetNextModified line? The error message is *Table Buffering is Not Enabled* but the CursorGetProp line is returning a value greater than 1 [returning 3 to be exact].
>lnNextMod = 0
>lnUsed = aused(laTables)
>llRetVal = .f.
>for i = 1 to lnUsed
>   lcAlias = laTables(i,1)
>   if type("lcAlias") <> "C"
>      loop
>   endif
>   if CursorGetProp("Buffering", lcAlias) < 2 or !used(lcAlias)
>      loop
>   endif
>   select (lcAlias)
>   lnNextMod = GetNextModified(0, lcAlias)
>TIA.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform