database : insert/update/delete
Revolution
rrevolution at softhome.net
Sat Aug 27 09:59:34 EDT 2005
Saturday, August 27, 2005 4:57:04 PM (GMT +02:00)
Hi,
want to add to the database what's in a text
field.
event from the button mouseup :
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
put fld "MyEdit" into MyEditVar
put "INSERT INTO mytable myfield VALUES ('" & MyEditVar & "');" into SQL
revExecuteSQL dbID, SQL
put the result into sqlResult
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
what's wrong ?
also, for the update and delete ?
have tried it, but it doesn't add to the table.
stucked here.
10x
Adrian C.
More information about the use-livecode
mailing list