Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid cell holds value of previous row
Message
From
19/08/2003 06:49:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/08/2003 06:35:57
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00821307
Message ID:
00821310
Views:
26
>I've tried to do this calculation in the lostfocus (and valid) event of colum2.
>When I change rows the first time, with colum2 in row1 as the active cel, the calculation is correct.
>When I change rows again the calculation is incorrect. The column1.text1.value for this row holds the value of
>the previous row.
>
>How do i make sure column1.text1 contains the correct value
>(the value of column1.text of the row in which the lostfocus event of column2.text1 takes place.)
>
>many thanks

Victor,
FWIW do not bother with .Value and directly use tablename.fieldname in your calculation.
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