Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getnextmodified() return negative value
Message
From
30/12/2003 11:31:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/12/2003 11:15:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00862851
Message ID:
00862862
Views:
15
>Could you please help? I'm trying to find why/when getnextmodified() return negative value? Help doesn't mentioned it...
>
>I use something like:
>
>use table alias aaa
>select * from aaa into cursor tempcur readwrite
>set multilock on
>= cursorsetprop('Buffering',5,'tempcur')
>go 2
>replace field with 999
>go top
>? getnextmodified() && returns -1...
>
>
>TIA
>Dmitry

Dmitry,
I think this code would error (GetNextModified() missing parameter).
If that was a typo are you sure it returns -1 with this code ? For it to return a negative value you should have made an insertion. Help somewhat says this (... returns 0 if there are no modified records after the record you specify.)
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
Reply
Map
View

Click here to load this message in the networking platform