Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using an id field in a table
Message
From
26/06/2001 14:31:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Using an id field in a table
Miscellaneous
Thread ID:
00523735
Message ID:
00523735
Views:
40
I have a table of customers. One of the fields is the custid (n 5,0) used in relationships with other tables. On one of my forms ( a simple form built with form wizard), I want the client to be able to add a new customer and have the custid field updated automatically. Right now it prompts the user to enter the value of the id. Most of my users aren't going to use the correct id. I would like the next available number to be used automatically. Any help would be appreciated. If this is unclear, another way to put it is I want a field similar to those found in MS Access (type: AutoNumber). TIA
Here's to alcohol...the cause of ... and solution to ... all of life's problems - - Homer J. Simpson
Next
Reply
Map
View

Click here to load this message in the networking platform