Home » Developer & Programmer » Forms » How to Insert a Value of a Selected Radio Button in Database table
How to Insert a Value of a Selected Radio Button in Database table [message #455247] Mon, 10 May 2010 16:23 Go to next message
adam25
Messages: 3
Registered: April 2010
Junior Member
Hi,

Suppose There are Four options in a Radio Group. From this whichever option I select using the Mouse that option must be Inserted in the Database table field.

How to do this Using Radio Buttons.

Also If I want to select more than One Option Then I use Check Box
For this Also When I select two or three options simultaneously then these values must be Inserted in the Database Table Fields.

How to do this?

Please help me.
Thanks.
Re: How to Insert a Value of a Selected Radio Button in Database table [message #455281 is a reply to message #455247] Mon, 10 May 2010 23:36 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Define the radio button against the database item and this functionality should happen automatically.

Selecting Multiple Values from LOV
http://forums.oracle.com/forums/message.jspa?messageID=590264#590264

David
Re: How to Insert a Value of a Selected Radio Button in Database table [message #637736 is a reply to message #455281] Fri, 22 May 2015 22:33 Go to previous messageGo to next message
abrarkiit
Messages: 5
Registered: May 2015
Location: India
Junior Member

Define the radio button against the database item and this functionality should happen automatically.

and you should add radio button as u require on same radiogroup.
steps:

first create database i.e
CREATE TABLE GENDER(GEN CHAR(1));
-- This is only for testing.
now go to form builder open and do process

1) take new module(for testing)
2) go to navigator
2)create data block(use data block wizard)
3)go to layout editor(press f2)
4)make text item -- radio group( go to properties and make as radio group)
5)drag and drop two radio button from toolbar and set same group
6)drag and drop a command button- got to pl/editor- (when_button_press)- commit_form;


set property
-------------------
level-M
radio button value-M

radio-group propertis
---------------------
initial value- M
Re: How to Insert a Value of a Selected Radio Button in Database table [message #637776 is a reply to message #637736] Sun, 24 May 2015 09:24 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
abrarkiit wrote on Fri, 22 May 2015 20:33
Define the radio button against the database item and this functionality should happen automatically.

and you should add radio button as u require on same radiogroup.
steps:

first create database i.e
CREATE TABLE GENDER(GEN CHAR(1));
-- This is only for testing.
now go to form builder open and do process

1) take new module(for testing)
2) go to navigator
2)create data block(use data block wizard)
3)go to layout editor(press f2)
4)make text item -- radio group( go to properties and make as radio group)
5)drag and drop two radio button from toolbar and set same group
6)drag and drop a command button- got to pl/editor- (when_button_press)- commit_form;


set property
-------------------
level-M
radio button value-M

radio-group propertis
---------------------
initial value- M


do you think that the OP has been waiting 5 long years for this suggestion?
Re: How to Insert a Value of a Selected Radio Button in Database table [message #638308 is a reply to message #637776] Tue, 09 June 2015 07:30 Go to previous messageGo to next message
abrarkiit
Messages: 5
Registered: May 2015
Location: India
Junior Member

BlackSwan

sir i dont getting ýou what you want to say. could u please explain.

[Updated on: Tue, 09 June 2015 07:30]

Report message to a moderator

Re: How to Insert a Value of a Selected Radio Button in Database table [message #638321 is a reply to message #638308] Tue, 09 June 2015 08:11 Go to previous message
CraigB
Messages: 386
Registered: August 2014
Location: Utah, USA
Senior Member
Simple, adam25 posted the original question on Mon, 10 May 2010 15:23. Then, djmartin replied the adam25 on Mon, 10 May 2010 22:36. You then posted a reply on Fri, 22 May 2015 21:33. The date the question was posted is listed in the Top Right of the title bar for the thread. I think it fair to say, this question has been answered a long time ago. Smile

Craig...
Previous Topic: please need help temporarly
Next Topic: OAF
Goto Forum:
  


Current Time: Tue Apr 23 04:10:59 CDT 2024