|
-
Jan 10th, 2002, 03:39 PM
#1
Thread Starter
Hyperactive Member
how do u update a record using a textbox?
hello, i have a bunch of textboxes with datasource set to my adodc, and datafields, i can write in the textboxes over what is showing from my database, but it doesnt effect the database.
How can i make changes to the textboxes automatically update the database as well?
Thanks for your help 
Ang
-
Jan 10th, 2002, 04:41 PM
#2
Fanatic Member
(Assuming locktype is not readonly)
You have to issue an adodc1.Recordset.Update command somewhere. Unless you movenext which automatically updates.
VB 6.0, Access, Sql server, Asp
-
Jan 10th, 2002, 04:44 PM
#3
-
Jan 10th, 2002, 05:08 PM
#4
Thread Starter
Hyperactive Member
ooh that's perfect
cheers matey 
Ang
-
Jan 10th, 2002, 05:29 PM
#5
your welcome 
anytime the
did i see your name was Ang, as in Angela?
-
Jan 10th, 2002, 05:51 PM
#6
Thread Starter
Hyperactive Member
-
Jan 10th, 2002, 05:53 PM
#7
Thread Starter
Hyperactive Member
i cant get the update to work 
i have dis button, but i click it, then go back to see if it's work, and the changes havent been saved, any ideas why?
Private Sub cmdBack_Click()
adoProduce.Recordset.Update
DoEvents
Unload frmUpdateProduce
frmDatabases.Show 1
End Sub
thanks again
Ang
-
Jan 10th, 2002, 06:07 PM
#8
Thread Starter
Hyperactive Member
ooops
what the hell am i talking about! yes it does
sorry ignore my last post, it just didnt work the 1st time, it's ok now 
thanks all the same
Ang
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
|