Textbox Maxlength

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
franco
Posts: 818
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Textbox Maxlength

Post by franco »

Is there a simple wat to set maxlenth of a text box to the length of the field it represents.
I have customers with different email field lengths in there CUSTOMER TABLE.

Code: Select all

Textbox text_1
Field Customer->Email
Maxlenth ????????  This.fieldlength
Or should I use a function to check the two values on save, and make the field length to the longest customer field length.
Thanks in advance.
All The Best,
Franco
Canada
franco
Posts: 818
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: Textbox Maxlength

Post by franco »

Got it.
Maxlength Len(Customer->Email)
Should I leave POST for others to observe, or delete.
All The Best,
Franco
Canada
Post Reply