Ugo DI LUCA Posted January 21, 2003 Posted January 21, 2003 From my first use of FM, I always defined an autoentered serial n
falkaholic Posted January 22, 2003 Posted January 22, 2003 It coud be because your using number fields somewhere along the way. Or some number-only function that strips text, like Max() or Sum()....
Ugo DI LUCA Posted January 22, 2003 Author Posted January 22, 2003 Yes Eric I do now use Max and others. That is why I ask if there is a rule to use numbers or text fields. But if I use a text field, how would the invoices be sorted... Is it the common rule to add text into the serial N
BobWeaver Posted January 22, 2003 Posted January 22, 2003 Instead of using the formula: Max(selfjoin::SerialNumber)+1 ... you can generate new serial numbers with: "VEND"&(Max(selfjoin::SerialNumber)+1) to make sure that the prefix remains.
Ugo DI LUCA Posted January 22, 2003 Author Posted January 22, 2003 There was a solution obviously. Thank you muchy. Nope ! Doesn't work for me
jasonwood Posted January 22, 2003 Posted January 22, 2003 I might be missing something, but it seems to me that this would cause a sorting problem (as you expressed concern over), when you go from 9999 to 10000 for example. To avoid this, I'd start the serial number at a higher number like 1000000 (assuming you never expect to have more than 9 million records).
Recommended Posts
This topic is 8047 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now