Adding Chars

Hi All, I have a variale “Name” of Type Text 100 and a Textbox with ControlSource Name. The User can Type what he wants, for example ‘Hello World’ (without quots!). What i want is, that the User can Type 'Hello World ’ (with a space an the end!) and by pressing a Button a ‘####’ is added. The result should look like ‘Hello World ####’. But all i get is ‘Hello World####’, without a space before the first ‘#’. Any Idea out there??? Many thanks in advance, Frank

By default blanks in the end in text- and code-vars are removed when ENTER is pressed. You have to add that space yourself.

I had the same problem some time ago: http://www.navision.net/forum/topic.asp?TOPIC_ID=5407&SearchTerms=blank

Yes, thats exactly what i need. Thanks a lot. And Alex…your were right…it’s so easy [8D] Greetings, Frank