ZeraKakkade Posted December 18, 2007 Posted December 18, 2007 i get error if i use $data = _SQLExecute(-1,"INSERT INTO konto (acc_name) VALUES ('test');")Func _SQLExecute( $ConHandle = -1,$query = "" ) Dim $SQLErr Local $ret If $ConHandle = -1 then $ConHandle = $sqlLastConnection $ret = $ConHandle.Execute ( $query ) If @error then Return 0 Return $ret EndFuncC:\Programme\AutoIt3\messanger\_sql.au3 (59) : ==> Error in expression.:
martin Posted December 18, 2007 Posted December 18, 2007 i get error if i use $data = _SQLExecute(-1,"INSERT INTO konto (acc_name) VALUES ('test');") Func _SQLExecute( $ConHandle = -1,$query = "" ) Dim $SQLErr Local $ret If $ConHandle = -1 then $ConHandle = $sqlLastConnection $ret = $ConHandle.Execute ( $query ) If @error then Return 0 Return $ret EndFunc C:\Programme\AutoIt3\messanger\_sql.au3 (59) : ==> Error in expression.: Try $data = _SQLExecute(-1,'INSERT INTO konto (acc_name) VALUES ("test")') Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now