Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Text Fields with Carriage return


This topic is 7044 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I got a problem with people entering Carriage returns in text fields. Like in an e-mail field, someone presses [enter] but it creates a 2nd line, so they re-enter the e-mail address.

Now when I do an export it has:

[email protected][][email protected] (the [] is a box)

Sifting through 2000 e-mails looking for this is tedious. Is there something in layouts/field formats that can prevent a carriage return to be entered? Or is it something that is controlled in Define Field?

Thanks in advance.

FM Version 5, windows 2000

Posted

In Define Fields, validate your fields using a calculation of

not PatternCount( fieldName, "¶" )

or

not Position( fieldName, "¶", 1, 1 )

for fields which can contain a lot of data.

This topic is 7044 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.