Home » Developer & Programmer » Forms » Placing list item during runtime
icon9.gif  Placing list item during runtime [message #131899] Wed, 10 August 2005 00:26 Go to next message
amphrodite
Messages: 21
Registered: July 2005
Junior Member

Hi everyone,

Is it possible to call or place list items on forms during runtime?I mean,the list item is not place on the form at design time but it will be placed on the form at runtime and the number of the list item placed is also based on the number entered by the user at runtime.If it's possible to do so,pls show/guide me on doing it ok.

Thanks a lot.
Re: Placing list item during runtime [message #131920 is a reply to message #131899] Wed, 10 August 2005 01:40 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Create all the items you need and place them on the canvas, but make then 'visible' is 'no'. Then when you want to use one, assign it the various attributes necessary and then make it visible.

David
Re: Placing list item during runtime [message #131926 is a reply to message #131920] Wed, 10 August 2005 02:01 Go to previous messageGo to next message
amphrodite
Messages: 21
Registered: July 2005
Junior Member

Thanx David.I will give it a try.But hv another question now.Is it possible to populate more than 1 column from the table in the database into the list item?

Thanx.
Re: Placing list item during runtime [message #131931 is a reply to message #131926] Wed, 10 August 2005 02:06 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Into the same single list or as a second column eg Suburb, postcode?

David
Re: Placing list item during runtime [message #131936 is a reply to message #131931] Wed, 10 August 2005 02:12 Go to previous messageGo to next message
amphrodite
Messages: 21
Registered: July 2005
Junior Member

To the second column.
Re: Placing list item during runtime [message #131943 is a reply to message #131936] Wed, 10 August 2005 02:19 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Then I suggest that you use an LOV based on a record_group into which you have defined the two columns. You can return either or both of these columns. You can if your structure requires it, have a third or fourth 'zero width' coumn and return it to a hidden database field instead.

David
Previous Topic: what is the procedure to make search button on the form?
Next Topic: Connection Between Oracle 8.1.6 & D2k 6i
Goto Forum:
  


Current Time: Fri Sep 20 09:49:01 CDT 2024