Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

What is the error in this code

$
0
0

Hi all.

I am trying to get some data from a SQLite database. But this code is not working. Please suggest where is the error. 

  1. #include <Alert.au3>
  2. #include <Array.au3>
  3. #include <Misc.au3>
  4. #include <SQLite.au3>
  5. #include <SQLite.dll.au3>
  6.  
  7. Local $db = _SQLite_Open("E:\Autolt Works\SampleSQL.sql")
  8. Local $out, $row, $col
  9. Local $res = _SQLite_GetTable($db,"Select MEM_NAME from MEMBERS",$out, $row, $col)
  10.  
  11. If $res = $SQLITE_OK Then
  12.     _ArrayDisplay($out)
  13.     Alert("No way")
  14.  

And this is my database file.

Attached Thumbnails

  • 000093.jpg

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>