Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a new line in a grid
Message
From
03/12/2004 16:17:36
 
 
To
01/12/2004 17:37:31
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00964413
Message ID:
00966838
Views:
7
I did it like this. (Come to think of it, your way makes more sense. :)


&& form keypress event

case thisform.standardpageframe1.page1.smartgrid1.activecolumn = 7 and nKeyCode = 13

nodefault
skip in classattendance

if eof('classattendance') .or. classattendance.apprenticesid <> apprentices.apprenticesid

&& add button - adds a new record
thisform.standardcommand5.click
endif

keyboard '{TAB}'
keyboard '{DNARROW}'
Previous
Reply
Map
View

Click here to load this message in the networking platform