Update Records in the Database Using SQL Record Objects
Create SQL Record Object
## Create SQL Record object by getting record from database.
## Store the found record in theRecordA
sqlrecord_find "lessons", 1, theRecordA
Fill In Values For Table
sqlrecord_set theRecordA, "title", "My New Lesson"
sqlrecord_set theRecordA, "description", "A short lesson I made and modified."
Update Record in Database
sqlrecord_update theRecordA
put the result into theError
put it into theAffectedRows
0 Comments
Add your comment