|
-
Aug 3rd, 2000, 12:18 PM
#1
Thread Starter
Hyperactive Member
There must be an easier way to add many controls to a database.
I have a form with 20 textboxes. I now want to write all these textboxes.text to fields in a database - the way I do it now is....
insert into table values ('" & txtbox.text & "','" & txtbox.text & "','" & txtbox.text & "','" & txtbox.text & "'
,'" & txtbox.text & "'......)
Isn't there an easier/quicker way??
Any suggestions please,
SS
-
Aug 3rd, 2000, 12:26 PM
#2
Junior Member
Have you tried opening an ADO recordset and binding them to each control?
-
Aug 3rd, 2000, 09:30 PM
#3
Guru
or just create a control array and use a for/next loop to build your SQL statement
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|