RE: UPDATE statement help / MS Access db
- From: jamesfreddyc <jamesfreddyc@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 9 Apr 2008 10:41:00 -0700
Here is the original SQL Statement that correctly executes in Access:
UPDATE TBLPID SET TBLPID.f_TBLPID_PID = Left([f_TBLPID_PID],4) & "-" &
Mid([f_TBLPID_PID],5,2) & "-" & Mid([f_TBLPID_PID],7);
"jamesfreddyc" wrote:
VB6 app.
Trying to setup an UPDATE statement to modify all records in a single column
(Access db). Everything works fine until it hits the UPDATE statement (no
errors, but no updates made to the table).
Connection is fine, table is fine, field is fine, just not updating.
Dim sql_updPid As String
sql_updPid = "UPDATE TBLPID SET TBLPID.f_TBLPID_PID = Left([f_TBLPID_PID],4)
& "" - "" & Mid([f_TBLPID_PID],5,2) & "" - "" & Mid([f_TBLPID_PID],7);"
- Follow-Ups:
- Re: UPDATE statement help / MS Access db
- From: SMussler
- Re: UPDATE statement help / MS Access db
- References:
- UPDATE statement help / MS Access db
- From: jamesfreddyc
- UPDATE statement help / MS Access db
- Prev by Date: UPDATE statement help / MS Access db
- Next by Date: Re: UPDATE statement help / MS Access db
- Previous by thread: UPDATE statement help / MS Access db
- Next by thread: Re: UPDATE statement help / MS Access db
- Index(es):
Relevant Pages
|
Loading