dbTalk Databases Forums  

LOV button on Oracle form

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss LOV button on Oracle form in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dandaman2234@yahoo.co.uk
 
Posts: n/a

Default LOV button on Oracle form - 03-20-2008 , 04:40 PM






Hi

I'm currently trying to build a database in oracle for a made up
scenario for a University assignment. On one of the forms there is a
field called 'Region of UK' which the user would choose from a list of
values. This list corresponds with another table that I have created.
I have managed to make a button that once pressed a list of all the
regions available appears in a little box. The problem I'm having is
making the selected value e.g. the user selects 'EAST MID' appear in
the field region of uk.

Can anyone help or give me some advise on where I might be going
wrong.

Cheers

Dan

Reply With Quote
  #2  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: LOV button on Oracle form - 03-20-2008 , 05:53 PM






dandaman2234 (AT) yahoo (DOT) co.uk wrote:
: Hi

: I'm currently trying to build a database in oracle for a made up
: scenario for a University assignment. On one of the forms there is a
: field called 'Region of UK' which the user would choose from a list of
: values. This list corresponds with another table that I have created.
: I have managed to make a button that once pressed a list of all the
: regions available appears in a little box. The problem I'm having is
: making the selected value e.g. the user selects 'EAST MID' appear in
: the field region of uk.

: Can anyone help or give me some advise on where I might be going
: wrong.

You make a record group that has the query.

Then you make an LOV that uses the record group.
Select the LOV and right click to get the Properties dialog.

The LOV properties dialog has a property called "Column Mapping
Properties", so click in the value column of that to get the LOV COlumn
Mapping dialog. In that dialog you put the column name from the record
group, and use the [Browse...] button to select which item in the form
gets populated from that column of the record group.

Press the Help button for more details.

Reply With Quote
  #3  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: LOV button on Oracle form - 03-20-2008 , 05:53 PM



dandaman2234 (AT) yahoo (DOT) co.uk wrote:
: Hi

: I'm currently trying to build a database in oracle for a made up
: scenario for a University assignment. On one of the forms there is a
: field called 'Region of UK' which the user would choose from a list of
: values. This list corresponds with another table that I have created.
: I have managed to make a button that once pressed a list of all the
: regions available appears in a little box. The problem I'm having is
: making the selected value e.g. the user selects 'EAST MID' appear in
: the field region of uk.

: Can anyone help or give me some advise on where I might be going
: wrong.

You make a record group that has the query.

Then you make an LOV that uses the record group.
Select the LOV and right click to get the Properties dialog.

The LOV properties dialog has a property called "Column Mapping
Properties", so click in the value column of that to get the LOV COlumn
Mapping dialog. In that dialog you put the column name from the record
group, and use the [Browse...] button to select which item in the form
gets populated from that column of the record group.

Press the Help button for more details.

Reply With Quote
  #4  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: LOV button on Oracle form - 03-20-2008 , 05:53 PM



dandaman2234 (AT) yahoo (DOT) co.uk wrote:
: Hi

: I'm currently trying to build a database in oracle for a made up
: scenario for a University assignment. On one of the forms there is a
: field called 'Region of UK' which the user would choose from a list of
: values. This list corresponds with another table that I have created.
: I have managed to make a button that once pressed a list of all the
: regions available appears in a little box. The problem I'm having is
: making the selected value e.g. the user selects 'EAST MID' appear in
: the field region of uk.

: Can anyone help or give me some advise on where I might be going
: wrong.

You make a record group that has the query.

Then you make an LOV that uses the record group.
Select the LOV and right click to get the Properties dialog.

The LOV properties dialog has a property called "Column Mapping
Properties", so click in the value column of that to get the LOV COlumn
Mapping dialog. In that dialog you put the column name from the record
group, and use the [Browse...] button to select which item in the form
gets populated from that column of the record group.

Press the Help button for more details.

Reply With Quote
  #5  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: LOV button on Oracle form - 03-20-2008 , 05:53 PM



dandaman2234 (AT) yahoo (DOT) co.uk wrote:
: Hi

: I'm currently trying to build a database in oracle for a made up
: scenario for a University assignment. On one of the forms there is a
: field called 'Region of UK' which the user would choose from a list of
: values. This list corresponds with another table that I have created.
: I have managed to make a button that once pressed a list of all the
: regions available appears in a little box. The problem I'm having is
: making the selected value e.g. the user selects 'EAST MID' appear in
: the field region of uk.

: Can anyone help or give me some advise on where I might be going
: wrong.

You make a record group that has the query.

Then you make an LOV that uses the record group.
Select the LOV and right click to get the Properties dialog.

The LOV properties dialog has a property called "Column Mapping
Properties", so click in the value column of that to get the LOV COlumn
Mapping dialog. In that dialog you put the column name from the record
group, and use the [Browse...] button to select which item in the form
gets populated from that column of the record group.

Press the Help button for more details.

Reply With Quote
  #6  
Old   
dandaman2234@yahoo.co.uk
 
Posts: n/a

Default Re: LOV button on Oracle form - 03-26-2008 , 05:20 AM



On Mar 20, 11:53*pm, yf... (AT) vtn1 (DOT) victoria.tc.ca (Malcolm Dew-Jones)
wrote:
Quote:
dandaman2... (AT) yahoo (DOT) co.uk wrote:

: Hi

: I'm currently trying to build a database in oracle for a made up
: scenario for a University assignment. On one of the forms there is a
: field called 'Region of UK' which the user would choose from a list of
: values. This list corresponds with another table that I have created.
: I have managed to make a button that once pressed a list of all the
: regions available appears in a little box. The problem I'm having is
: making the selected value e.g. the user selects 'EAST MID' appear in
: the field region of uk.

: Can anyone help or give me some advise on where I might be going
: wrong.

You make a record group that has the query.

Then you make an LOV that uses the record group.
Select the LOV and right click to get the Properties dialog.

The LOV properties dialog has a property called "Column Mapping
Properties", so click in the value column of that to get the LOV COlumn
Mapping dialog. *In that dialog you put the column name from the record
group, and use the [Browse...] button to select which item in the form
gets populated from that column of the record group.

Press the Help button for more details.
Cheers for the reply. Finally got the button to work. In the column
mapping window I configured the return item to be the region of UK
field.
Work fine now.

Cheers again.

Dan


Reply With Quote
  #7  
Old   
dandaman2234@yahoo.co.uk
 
Posts: n/a

Default Re: LOV button on Oracle form - 03-26-2008 , 05:20 AM



On Mar 20, 11:53*pm, yf... (AT) vtn1 (DOT) victoria.tc.ca (Malcolm Dew-Jones)
wrote:
Quote:
dandaman2... (AT) yahoo (DOT) co.uk wrote:

: Hi

: I'm currently trying to build a database in oracle for a made up
: scenario for a University assignment. On one of the forms there is a
: field called 'Region of UK' which the user would choose from a list of
: values. This list corresponds with another table that I have created.
: I have managed to make a button that once pressed a list of all the
: regions available appears in a little box. The problem I'm having is
: making the selected value e.g. the user selects 'EAST MID' appear in
: the field region of uk.

: Can anyone help or give me some advise on where I might be going
: wrong.

You make a record group that has the query.

Then you make an LOV that uses the record group.
Select the LOV and right click to get the Properties dialog.

The LOV properties dialog has a property called "Column Mapping
Properties", so click in the value column of that to get the LOV COlumn
Mapping dialog. *In that dialog you put the column name from the record
group, and use the [Browse...] button to select which item in the form
gets populated from that column of the record group.

Press the Help button for more details.
Cheers for the reply. Finally got the button to work. In the column
mapping window I configured the return item to be the region of UK
field.
Work fine now.

Cheers again.

Dan


Reply With Quote
  #8  
Old   
dandaman2234@yahoo.co.uk
 
Posts: n/a

Default Re: LOV button on Oracle form - 03-26-2008 , 05:20 AM



On Mar 20, 11:53*pm, yf... (AT) vtn1 (DOT) victoria.tc.ca (Malcolm Dew-Jones)
wrote:
Quote:
dandaman2... (AT) yahoo (DOT) co.uk wrote:

: Hi

: I'm currently trying to build a database in oracle for a made up
: scenario for a University assignment. On one of the forms there is a
: field called 'Region of UK' which the user would choose from a list of
: values. This list corresponds with another table that I have created.
: I have managed to make a button that once pressed a list of all the
: regions available appears in a little box. The problem I'm having is
: making the selected value e.g. the user selects 'EAST MID' appear in
: the field region of uk.

: Can anyone help or give me some advise on where I might be going
: wrong.

You make a record group that has the query.

Then you make an LOV that uses the record group.
Select the LOV and right click to get the Properties dialog.

The LOV properties dialog has a property called "Column Mapping
Properties", so click in the value column of that to get the LOV COlumn
Mapping dialog. *In that dialog you put the column name from the record
group, and use the [Browse...] button to select which item in the form
gets populated from that column of the record group.

Press the Help button for more details.
Cheers for the reply. Finally got the button to work. In the column
mapping window I configured the return item to be the region of UK
field.
Work fine now.

Cheers again.

Dan


Reply With Quote
  #9  
Old   
dandaman2234@yahoo.co.uk
 
Posts: n/a

Default Re: LOV button on Oracle form - 03-26-2008 , 05:20 AM



On Mar 20, 11:53*pm, yf... (AT) vtn1 (DOT) victoria.tc.ca (Malcolm Dew-Jones)
wrote:
Quote:
dandaman2... (AT) yahoo (DOT) co.uk wrote:

: Hi

: I'm currently trying to build a database in oracle for a made up
: scenario for a University assignment. On one of the forms there is a
: field called 'Region of UK' which the user would choose from a list of
: values. This list corresponds with another table that I have created.
: I have managed to make a button that once pressed a list of all the
: regions available appears in a little box. The problem I'm having is
: making the selected value e.g. the user selects 'EAST MID' appear in
: the field region of uk.

: Can anyone help or give me some advise on where I might be going
: wrong.

You make a record group that has the query.

Then you make an LOV that uses the record group.
Select the LOV and right click to get the Properties dialog.

The LOV properties dialog has a property called "Column Mapping
Properties", so click in the value column of that to get the LOV COlumn
Mapping dialog. *In that dialog you put the column name from the record
group, and use the [Browse...] button to select which item in the form
gets populated from that column of the record group.

Press the Help button for more details.
Cheers for the reply. Finally got the button to work. In the column
mapping window I configured the return item to be the region of UK
field.
Work fine now.

Cheers again.

Dan


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.