![]() |
Admin 5/19/2014 |
Check this article that explains how to troubleshoot buttons code: |
J
|
jmccullough author 5/20/2014 |
Have tried your suggestion according to the documentation and this is the error I receive. Can you tell me what it means ? |
G
|
gonzalosb 5/20/2014 |
Hi jmack,
|
J
|
jmccullough author 5/20/2014 |
Thank you for the quick reply and suggestion. I added your code as suggested and it still does nothing. No error or message and no table update. |
![]() |
Admin 5/20/2014 |
jmack, |
G
|
gonzalosb 5/20/2014 |
sorry my bad, i miss the UPDATE on the code:
|
J
|
jmccullough author 5/20/2014 |
gonzalosb, |
![]() |
Admin 5/20/2014 |
Upload it somewhere, to Dropbox or to imgur.com |
G
|
gonzalosb 5/20/2014 |
hmmm, ok try it like this:
|
J
|
jmccullough author 5/27/2014 |
Tried all of your suggestion with NO luck. Table is not updated and no message is displayed. I even tried this code from one of your earlier posts. Strange, I get the message that the records were updated but that's all it does, display the message. It doesn't update the Password field to xxxxxxxx. |
G
|
gonzalosb 5/29/2014 |
that code didnt work for mi ider, this is what i use that work for me sql = "Update Userstbl set Password='xxxxx' where ID=" & record("ID") dbConnection.Execute sql result("txt") = "Records were updated."
sql = "Update Userstbl set Password='xxxxx' where VendorNumber=" & SESSION("UserName") dbConnection.Execute sql result("txt") = "Records were updated."
|
![]() |
Admin 5/30/2014 |
Here is what finally worked: sql = ("UPDATE Userstbl SET Userstbl.[Password] = 'xxxxxxxx' WHERE Userstbl.UserName='"&Session("UserName")&"'") |