Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress in Grid
Message
From
25/06/2008 15:06:01
 
 
To
25/06/2008 14:52:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01326727
Message ID:
01326731
Views:
22
Tarig... better for you is don't use allowaddnew=.t

and control a use of new record by traping the use of enter key on keypress method...

and discard on the unload method all record left in blank

HTH

>Dear Experts
>
>There is a grid on form with allowaddnew=.t.
>I have following codes to populate
>
>select table1
>index on sno to table11
>
>thisform.grid1.recordsource="Table1"
>thisform.grid1.column1.controlsource="Table1.sno"
>thisform.grid1.column2.controlsource="Table1.name"
>thisform.grid1.column1.setfocus
>thisform.refresh
>
>
>I want to stop dnarrow in grid.
>I want to use only Enter key to go to next row.
>
>Please help
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform