Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximum Value (Grid)
Message
From
31/10/1999 20:05:44
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00284579
Message ID:
00284618
Views:
11
I like this approach but it appears that when I try this.. It appears to lose information about my data enviroment for the table Family.. For example, I have a column on my Family table called sortnm, after I run this technique as documented it indicates that variable sortnm is not found.. Help.

Code for the add button listed below

SET SAFETY OFF
SELECT max(familyid) as maxfid;
FROM Family ;
INTO dbf\cJunk
m.famid = cJunk.maxfid + 1
insert into family (familyid) values(famid)

THISFORM.PageFrame1.Page1.Grid1.Refresh()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform