Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autogenerate Primary Keys Problem
Message
From
11/03/1999 23:56:53
 
 
To
11/03/1999 21:52:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00196629
Message ID:
00196657
Views:
21
> REPLACE keynum WITH keynum+1 IN "keylist"


Hi Jason-

Your problem is with the line of code above: You cannot add a numeric number to character data.

The solution is not so simple; it depends on how you were planning to implement your process. Are your keys character representations of numbers? ex: "41242", or are they character keys that use every ASCII character? "R¼?4r7*(<š"

You need to answer this before I can help you with increment code...

But tell me... why did you decide to switch from integer?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform