Home » Developer & Programmer » Forms » set maximum length
set maximum length [message #384761] Thu, 05 February 2009 01:28 Go to next message
raj2011
Messages: 5
Registered: January 2009
Location: MANAMA
Junior Member
Hi,

is there anyway to set the maximum length for an item at run time?

help shows it's not possible.

i have a requirement to set the maximum length for an item at runtime

Regards
Re: set maximum length [message #384763 is a reply to message #384761] Thu, 05 February 2009 01:58 Go to previous messageGo to next message
mm_kanish05
Messages: 487
Registered: January 2007
Location: Chennai
Senior Member

is it length vary dynamically at time to time?

or fixed length but on runtime u want to utilize then length

kanish




Re: set maximum length [message #384776 is a reply to message #384763] Thu, 05 February 2009 02:58 Go to previous messageGo to next message
raj2011
Messages: 5
Registered: January 2009
Location: MANAMA
Junior Member
it's a fixed length,but i will know only at runtime
Re: set maximum length [message #384778 is a reply to message #384776] Thu, 05 February 2009 03:00 Go to previous message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Well, you might create an item by setting length to the maximum, and later - when you find out its "real" length - check whether value entered into an item exceeds this length (in the WHEN-VALIDATE-ITEM trigger, for example).
Previous Topic: how to create an XP button shape in forms 6i or forms 10g?
Next Topic: Tab Canvas - Record Deletion
Goto Forum:
  


Current Time: Thu Dec 08 16:31:42 CST 2016

Total time taken to generate the page: 0.12108 seconds