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

Newbie and SQLIte

$
0
0

Ok Im new to AutoIT and trying to get it to write to an SQLite DB.

 

Evereything was going fantastic until I attempted to write a variable value to a field rather then hardset value;

 

$name = "Whatever"

_SQLite_Exec($hDskDb,"INSERT INTO Packages (Packagename) VALUES ($name)")

 

When I issue the following command it always writes $name to the field rather then the variable value of "Whatever", I have tried mutiple different ways of structuring the command to get it to write the variable value rather then $name but had no luck :(

Could someone please tell me what I'm doing wrong?

 

Thanks.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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