I'm using ODBC Connection and I'm having a problem updating record in the database, here's the code:
Code: Select all
Table$ = "name"
cn$ = GetGadgetText(173)
father_fname$ = (GetGadgetText(174)
result = DatabaseUpdate(0, "UPDATE "+Table$+" SET fname='"+father_fname$+"' WHERE MT1_F17 = '"+cn$+"';")
Any idea?
Your answers will be very much appreciated.
Thank you:)