A versatile function used in the database

xiaoxiao2021-03-06  139

Public Function H1 (Byval SELECTED AS STRING, BYVAL ITEM AS STRING, BYVAL INDEX AS STRING AS BOOLEAN DIM SQL AS STRING, INT AS Integer SQL = "Update Member Set [" & SELECTED & "] = '& CQ (Item) & "'" SQL & = "Where index =" & index SqlQuery (SQL, "Update",,, int) ing int> 0 THEN RETURN TRUE ELSE RETURN FALSE END IF END FUNCTION

Of course, you can change Update to other types of responding SQL statements!

转载请注明原文地址:https://www.9cbs.com/read-127658.html

New Post(0)