Home » Developer & Programmer » Forms » Dinamically Increase Column in forms 6i
Dinamically Increase Column in forms 6i [message #83896] Sun, 28 December 2003 22:10 Go to next message
Sujit roy
Messages: 4
Registered: July 2003
Junior Member
Hi,

I need to increase column dinamically in a form i.e. if i want to compare values(values can be sales amount for various sales person) between 6 months, forms will have 6 column for each month. In the same form, if i want to compare values between 12 months, forms will have 12 column for each month.

How can i do it ? Any hint will be very helpful.
Please reply anyone with any kind of hint.

Thanx in advance.

Bye
Re: Dinamically Increase Column in forms 6i [message #83897 is a reply to message #83896] Mon, 29 December 2003 00:39 Go to previous messageGo to next message
sameer_am2002
Messages: 129
Registered: September 2002
Senior Member
1 way of doing is having 6 columns on 1 canvas and 12 on the other.Depending upon the condition just switch between the two canvas.Other way is to have all 12 columns on 1 canvas then based upon the condition hiding and unhiding 6 of ur columns using VISIBLE property of item.E.g
if salesamount > 2000 then
(set_item_property('itemname' ,visible ,property_false) ;
else
set_item_property('itemname' , visible , property_true) ;
set_item_property('itemname' , enabled , property_true) ;
set_item_property('itemname' , navigable , property_true) ;
end if ;
Note while making property true you also need to set two more properties enabled and navigable.Coz Forms make even these two properties false.
Re: Dinamically Increase Column in forms 6i [message #83907 is a reply to message #83897] Tue, 30 December 2003 00:07 Go to previous message
Sujit roy
Messages: 4
Registered: July 2003
Junior Member
Thanx for ur reply. But i need it in another way. User will input date parameter(datefrom and dateto). Upon those parameter, column no can be 6 or 12 or any number which i don't know previously. Column no. will be variable here. I use 6 or 12 no. as an example.

Can it be posssible to be done in forms where column will increase dinamically just as rows.

Please reply.

Thanx in advance.

Sujit Roy
Previous Topic: webpage customisation
Next Topic: Block based on view, urgent
Goto Forum:
  


Current Time: Fri Apr 26 06:38:13 CDT 2024