faustf Posted November 2, 2016 Share Posted November 2, 2016 hi guys i try to do a query for take a data from db but , not work properly this is my script Func _Sqlite3_Read() Local $hQuery, $sMsg, $aRow _SQLite_Startup() If @error Then MsgBox($MB_SYSTEMMODAL, "SQLite Error", "SQLite3.dll Can't be Loaded!" & @CRLF & @CRLF & _ "Not FOUND in @SystemDir, @WindowsDir, @ScriptDir, @WorkingDir, @LocalAppDataDir\AutoIt v3\SQLite") ; Exit -1 EndIf Local $DB = _SQLite_Open(@ScriptDir & "\WEB-SITE\eBay\eBay.db") If @error Then MsgBox($MB_SYSTEMMODAL, "SQLite Error", "Can't create a memory Database!") ;Exit -1 EndIf ;_SQLite_Query(-1, "(SELECT * FROM eBayNewItem );",$hQuery) _SQLite_Query(-1, "SELECT id FROM eBayNewItem ORDER BY id;", $hQuery) ; the query If @error Then MsgBox($MB_SYSTEMMODAL, "SQLite Error", _SQLite_ErrMsg(-1)) ;Exit -1 EndIf While _SQLite_FetchData($hQuery, $aRow) = $SQLITE_OK $sMsg &= $aRow[0] WEnd Return $sMsg _SQLite_Close() _SQLite_Shutdown() EndFunc ;==>_Sqlite3_Read not return some error but not extract data , anyone can help me?? thankz so much at all Link to comment Share on other sites More sharing options...
Danyfirex Posted November 2, 2016 Share Posted November 2, 2016 Hello. It should work. use some sqlite manager and make the query. Saludos faustf 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
faustf Posted November 2, 2016 Author Share Posted November 2, 2016 yea its work , thanks somuch Link to comment Share on other sites More sharing options...
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