Home » Developer & Programmer » Forms » dynamic grid problem
dynamic grid problem [message #266127] Sun, 09 September 2007 22:55 Go to next message
fam_bila
Messages: 43
Registered: August 2007
Location: pakistan
Member
hi
i want to know how a dynamic grid of text item and radio group can be made in developer 6i.

can any body solve this problem or give any hint.
it's urgent
THANKs
Re: dynamic grid problem [message #266897 is a reply to message #266127] Tue, 11 September 2007 23:45 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Please define what you mean by 'dynamic grid'. If you mean show and hide then use 'set_item_property' with 'display' 'on' or 'off'.

David
Re: dynamic grid problem [message #266981 is a reply to message #266897] Wed, 12 September 2007 03:09 Go to previous messageGo to next message
fam_bila
Messages: 43
Registered: August 2007
Location: pakistan
Member
i want that according to the data text item will display at runtime.


by using query i select student names.
no of student names changes according to the requirement ,so how can i show this data on textboxes.
Re: dynamic grid problem [message #267310 is a reply to message #266981] Thu, 13 September 2007 00:29 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
What do you mean by "according to the data text item will display at runtime"? Do you mean, if the database value is not NULL the field will be displayed or if the database value is greater than 'x' it will be displayed?

By "no of student names changes according to the requirement" i assume you mean 'number of students' not 'no' as in 'negative'. Please DO NOT use abbreviations or 'IM' speak.

The normal Forms behaviour is that if there are five records then five lines (if there are that many defined on the canvas) will be displayed?

Is this your first form?

David
Re: dynamic grid problem [message #267625 is a reply to message #267310] Thu, 13 September 2007 23:30 Go to previous messageGo to next message
fam_bila
Messages: 43
Registered: August 2007
Location: pakistan
Member
i attach my form. it may help u to understand my problem.

when click on show button then according to the class , sesion, and subject student roll no , names will be displayed in STU data block .
but i got only the last record in the text item, but in count variable it shows the exact number of student according to the requirment.

now can u tell what is the problem.
  • Attachment: 123.fmb
    (Size: 56.00KB, Downloaded 985 times)
Re: dynamic grid problem [message #268199 is a reply to message #267625] Mon, 17 September 2007 23:32 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You don't need the canvas named 'stack'. Just put those items onto the canvas named 'main'. To show five lines change the 'Number of Records Displayed' for the block named 'stu' from '1' to '5'.

I recommend that you place the block named 'data' before the block named 'stu'.

David
Previous Topic: Loading .csv file into oracle database using PL/SQL
Next Topic: How to close the parent window?
Goto Forum:
  


Current Time: Sun Feb 09 01:32:30 CST 2025