Form layout - top section normal, bottom section tabular [message #481148] |
Mon, 01 November 2010 04:12 |
ahazin
Messages: 39 Registered: August 2010
|
Member |
|
|
Hi guys
I would very much appreciate a little help. Im currently in the process of making a form. What i would like is the following:
For the top of the form i would like a text box and a button, this will simply be populated by a LOV when the user presses the button. Below this LOV i would like my form to take a tabular layout. for example, in the top LOV the user selects a car. The tabs below will consist of service history, previous owners etc. Each of these tabs will consist of a number of text boxes filled with the corresponding data. Now, dependant on what car was selected from the top lov the text boxes will be filled with the appropriate information in relation to that car?
What im wondering is how I could acheive this, where the top half of the page is a single text box + button with tabs below.
basically what i want is the top half to consist of text box whilst below that there are tab pages. Is this possible?
Any help would be greatly appreciated.
Thank you.
|
|
|
Re: Form layout - top section normal, bottom section tabular [message #481149 is a reply to message #481148] |
Mon, 01 November 2010 04:19 |
ahazin
Messages: 39 Registered: August 2010
|
Member |
|
|
Also, a quick question I forgot to ask. as the top text box is just going to be a LOV therfore a non database item i assume there is no way to make it a master in a master detail relationship with the tab pages below it. As it may be required to make this the master but still just a lov in your experiance how would you acheive this?
Thanks
|
|
|
Re: Form layout - top section normal, bottom section tabular [message #481182 is a reply to message #481149] |
Mon, 01 November 2010 10:39 |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Quote:
basically what i want is the top half to consist of text box whilst below that there are tab pages. Is this possible?
Very easy in fact. Have a play with the viewport properties of a tab canvas.
You don't need a master-detail relationship between the top block and the rest. You just need to restrict the query executed in the database blocks based on the value in the text item, either using the block where clause or a pre-query trigger.
|
|
|
|
|
|
|
Re: Form layout - top section normal, bottom section tabular [message #481331 is a reply to message #481293] |
Tue, 02 November 2010 09:18 |
ahazin
Messages: 39 Registered: August 2010
|
Member |
|
|
bah, it seems to have dissapeared again even though raise on entry is set to yes, perhaps i changed something elsewhere, not sure why it would have worked before and not now.
Littlefoot is there something i should select to show the canvas so that i can see it at runtime.
thanks again for the help
|
|
|
|
|