Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids and BeforeRowColumnChange Event not trapping chan
Message
From
31/10/2002 03:04:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00717235
Message ID:
00717239
Views:
17
>I type some text in a Column (say ControlSource=FirstName) and the use the arrow key to move to the next record. This is trapped in the BeforeRowColumnChange event where I issue a command WAIT WINDOW FirstName.
>However my recent changes are not shown. ie the changes do not get committed till I actually move to the next row or column.
>How can I overcome this problem?

with .columns(nIndex).Text1
.Value = .Value
endwith

However be warned above code assumes you haven't changed column orders + column current control is still default text1. For other cases you need to tweak it a little bit.
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
Next
Reply
Map
View

Click here to load this message in the networking platform