Pedro Posted May 6, 2002 Share Posted May 6, 2002 Hello folks, I have a big problem with my FM solution. I have a text field that must be a caracter. I have to auto-increment this field when a new record is inserted. Exemple: The first record is A, the second is B , the tird C ...... Can you help me?: Thanks. Link to comment Share on other sites More sharing options...
LiveOak Posted May 6, 2002 Share Posted May 6, 2002 So what is the 27th record? If you just want A..Z to repeat, you can do this with a serial number field and a calculation. SerialNum (number, autoenter serial number, 1, 1) Letter (calculation, text) = Middle ("ZABCDEFGHIJKLMNOPQRSTUVWXYZ", Mod (SerialNum, 26) + 1, 1) -bd Link to comment Share on other sites More sharing options...
djgogi Posted May 7, 2002 Share Posted May 7, 2002 Hi , here's the file I've recently created reguarding this problem ftp://ftp.fmfiles.com/download/devhaven/devhelp/Alfa.fp5.sit Dj Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8185 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