| Author |
Topic  |
|
|
Carefree
Advanced Member
    
Philippines
4224 Posts |
Posted - 05 October 2010 : 10:35:37
|
Here's a spot of code for a registrar's office, there's a syntax error in the SQL format for both update/add (all fields are text). Anyone see the error?
|
|
|
Carefree
Advanced Member
    
Philippines
4224 Posts |
Posted - 05 October 2010 : 11:24:04
|
Both of the strSQL lines result in the same error.
Example output from update strSQL:
quote:
UPDATE REGISTRARS SET (Reg_NameL, Reg_NameF, Reg_NameM, Reg_SSAN, Reg_Code, Reg_PW) VALUES ('CTest','CTest','R','123456789','WC001','pass') WHERE Reg_Code = 'WC001'
Error Message: Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
|
 |
|
|
HuwR
Forum Admin
    
United Kingdom
20611 Posts |
|
|
Carefree
Advanced Member
    
Philippines
4224 Posts |
Posted - 05 October 2010 : 12:08:24
|
| Just color me brain-dead. lol, thanks. |
 |
|
|
HuwR
Forum Admin
    
United Kingdom
20611 Posts |
|
| |
Topic  |
|
|
|