Apr 10, 2003 #1 Tom123456 Programmer Apr 2, 2003 70 SE Hi all Can I in a private sub in VB update a value in a table?. Like: row1,col2 in DB = Me.product1 I don´t want to use SQL because that are very many records that should be updated.
Hi all Can I in a private sub in VB update a value in a table?. Like: row1,col2 in DB = Me.product1 I don´t want to use SQL because that are very many records that should be updated.
Apr 10, 2003 #2 GHolden Programmer May 28, 2002 852 GB I don't really understand why you say.. I don´t want to use SQL because that are very many records that should be updated. You can update all the records in the db with one SQL statement if you want. eg. "UPDATE tblTable SET fldOne = '" & Me.product1 & "'" Would update every record in tblTable by setting fldOne to the value of Me.product1 There are two ways to write error-free programs; only the third one works. Upvote 0 Downvote
I don't really understand why you say.. I don´t want to use SQL because that are very many records that should be updated. You can update all the records in the db with one SQL statement if you want. eg. "UPDATE tblTable SET fldOne = '" & Me.product1 & "'" Would update every record in tblTable by setting fldOne to the value of Me.product1 There are two ways to write error-free programs; only the third one works.