G
Guest
I currently have a text box on a form that I have set to as a Memo to get
around the 255 max char problem. I am trying to get the text box to default
to a canned entry such as:
Name: XXXXX
Violation: XXX-XXXX
Social Security # XXX-XX-XXXX
I try to put that in the default value and I get:
Name: XXXXX Violation: XXX-XXXX Social Security # XXX-XX-XXXX
I've tried looking around to see if there was a function that automatically
printed out return values and the only two things I stumbled upon were chr()
and space().
The space function works, but I have to manually check how many spaces I
need to go to the next line, which is not hard but if you have to manually do
30+ entries that way, it can become quite the pain. The chr function is
something I remember doing in C++, in which I took the ascii code for a
return value of 13 or 10, I tried them both and put something like:
"Name: XXXXX" + chr(13)+ "Violation: XXX-XXXX"
but all I got was:
Name: XXXXXX|Violation: XXX-XXXX
That line wasn't exactly it, but it was a thick bar, almost like the text
box can't do the enter key and put the bar in instead. I enabled a value in
the box that enables the enter key behaviour to "New Line in Field" but no
luck. Any ideas on how to work around this issue would be greatly
appreciated. If you need any more information, I will supply any information
that you might need. I also understand I could create a new field for all
three of those entries, but they aren't the real entries, but examples.
Thanks in advance
Leroy
around the 255 max char problem. I am trying to get the text box to default
to a canned entry such as:
Name: XXXXX
Violation: XXX-XXXX
Social Security # XXX-XX-XXXX
I try to put that in the default value and I get:
Name: XXXXX Violation: XXX-XXXX Social Security # XXX-XX-XXXX
I've tried looking around to see if there was a function that automatically
printed out return values and the only two things I stumbled upon were chr()
and space().
The space function works, but I have to manually check how many spaces I
need to go to the next line, which is not hard but if you have to manually do
30+ entries that way, it can become quite the pain. The chr function is
something I remember doing in C++, in which I took the ascii code for a
return value of 13 or 10, I tried them both and put something like:
"Name: XXXXX" + chr(13)+ "Violation: XXX-XXXX"
but all I got was:
Name: XXXXXX|Violation: XXX-XXXX
That line wasn't exactly it, but it was a thick bar, almost like the text
box can't do the enter key and put the bar in instead. I enabled a value in
the box that enables the enter key behaviour to "New Line in Field" but no
luck. Any ideas on how to work around this issue would be greatly
appreciated. If you need any more information, I will supply any information
that you might need. I also understand I could create a new field for all
three of those entries, but they aren't the real entries, but examples.
Thanks in advance
Leroy