473,480 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to insert multiple option button which is on a frame into oracle database?

2 New Member
Hi All,I'm having problem with the frame, I try to insert the option button value which is on Frame 1 but it didn't store in database,it only store the value for Text1,Text2 and Text3. I'm new in VB,hope someone can help me, I'm really appreciate. Thank you =)

Expand|Select|Wrap|Line Numbers
  1. Dim con As New ADODB.Connection
  2. Dim cmd As New ADODB.Command
  3. Dim rs As New ADODB.Recordset
  4. Dim cn As String
  5.  
  6. Private Sub CommandButton1_Click()
  7. con.Open cn
  8. cmd.ActiveConnection = con
  9. con.CursorLocation = adUseClient
  10.  
  11. rs.Open "INSERT INTO TRY_REVISE(TRY, TRY_COMPONENT, TRY_CONDITION,TRY_STEP) Values ('" & Text1 & "', '" & Text3 & "', '" & Text2 & "','" & Frame1 & "')", con
  12.  
  13. Call Frame1
  14. MsgBox ("Successfully Save")
  15. End Sub
  16.  
  17.  
  18. Private Sub Frame1_Click()
  19. If Option1.Value = True Then
  20. Value = "Reposition"
  21.  
  22.  Else: Option2.Value = True
  23. Value = "Hold/Release"
  24.  
  25.  
  26. End If
  27. End Sub
May 12 '15 #1
1 1503
senakudo92
2 New Member
I'm sorry,its already 1 week,hope someone who expert or have face the same problem to help me. I'm really appreciate it. I'm already google but I can't find about that.
May 20 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2884
by: Mark | last post by:
Hi All, Is there anyway I can select an option button by clicking a command button? From what I have found out so far, unlike a check box, and option button has no value so I can't assign it one....
1
4432
by: Stephen D Cook | last post by:
What I am trying to do is have a set of option buttons which are required to click one. If the person doesn't click any before insert, they get an error. If they do click one, it inserts into the...
1
4491
by: Stephen D Cook | last post by:
In my form I have an option group with 3 option buttons. My form is tied to a table. the options are Temp, Permanent and Overtime. I have these inside a frame. I have an AddRecord button to enter...
0
1084
by: shantanu | last post by:
hi all I need to read the excel sheet for the values. The requirement is like: For the number of rows in the excel which are not null, i need to store the values of the row in a array and then...
1
4985
by: boss1 | last post by:
i m having problem with inserting data into oracle db using php. i need to how to fetch fetch multiple row's data from a table in html form and insert into oracle db at a time. may be looping is...
58
8011
by: bonneylake | last post by:
Hey Everyone, Well recently i been inserting multiple fields for a section in my form called "serial". Well now i am trying to insert multiple fields for the not only the serial section but also...
0
2707
by: akshalika | last post by:
I am new to Biztalk. In my project we need to connect oracle database and insert data into oracle table using BizTalk project. I use WCF Adapter pack(SP2). I create biztalk project then using Consume...
1
27067
by: suadik | last post by:
Am trying to insert multiple fees into my database from a select option, but when I send, only one record is inserted which is the first selection. I also want it in such a way that when I insert,...
0
7034
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7076
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5324
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4768
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4472
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.