greinick Posted April 20, 2004 Posted April 20, 2004 Hi, I have an adress database with name and forname. This are normal textfields. The values contain among other things umlauts. Now I'd like to generate UserIDs from the two values. At the moment I can generate a third feeld containig the first letter of the forname and max. seven of the name. But I don'l want ulauts etc. in the UserID. Is there a way to replace all
Reed Posted April 20, 2004 Posted April 20, 2004 You could use the substitute function Substitute(textField,
greinick Posted April 20, 2004 Author Posted April 20, 2004 Thank you - Hm... thats what I found out for one character; at the moment my formel looks like this: Links(Austauschen(Vorname; "
Lee Smith Posted April 20, 2004 Posted April 20, 2004 Try this. You will need to change the Substitute to the German equivalent, and also replace the commas with semicolons. If this works, you then will need to add a "Substitute(" in front of the calculation, and your next value at the end of the calculation (i.e. put a comma or semicolon behind the last entry and add your next values such as this "
greinick Posted April 21, 2004 Author Posted April 21, 2004 Thanks! This helped in some way, but now I have the problem that if an users name contains Umlauts, they are replaced after the UserID is generated. e.g.
Lee Smith Posted April 21, 2004 Posted April 21, 2004 If I'm understanding you correctly, you will need two fields to act as an intermediary to the Concatenating of the fields. In other words, one field for Vorname c_vorname (Calc, Text Result) = Substitute(Substitute(Substitute( Left(Vorname, 1, "
Recommended Posts
This topic is 7590 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