Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid and command button to append new record
Message
From
14/06/2002 04:38:47
 
 
To
13/06/2002 12:12:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00668028
Message ID:
00668406
Views:
23
This message has been marked as the solution to the initial question of the thread.
Hi!

You have to do this in AfterRowColChange event. Grid does not reflect current record in alias when something changed in LostFocu event of the control. When record pointer is changed in AfterRowColChange event, grid reflects it.

>Hi
>
>In my form , Data Sesion is private .
>
>I have a grid , and a command button to append new records into grid .
>
>when i click in this command button all works ok .
>
>But , i whish append a new record in grid , when i complete all collumns .
>So , in text , in last collumn ,in LostFocus event
>
>
>
>ThisForm.PageFrame1.Page1.CNovLinha.Click	
>
>
>This append a new record , but the table and grid , stay in record previous , and not in new record .
>
>I whish that , table and grid go to new record .
>
>thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform