Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add new no. in a grid when u add a record.
Message
From
05/11/2002 10:32:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/11/2002 08:30:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00718879
Message ID:
00718920
Views:
22
>Dear All,
>I have a grid in a form which is collecting information from a table. I want to add a maximum record no in one of the field in the table whenever user uses down arrow key to add new record. How do I do it? In which event I have to write the code?

Personally, I set primary keys from the field's default value (in the table structure, with MODIFY STRUCTURE). I call a function that returns the correct number.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform