Extension Modules > SQLite

SQLite3 SB ext. module

<< < (2/2)

Script_test:
Hello!
First of all, thank you for your work.
I have Strange random problem running under windows 7 and windows 10.
When the file is created, it adds additional ascii characters to the file name.
thanks for your help.

update
This happens when you use ...


--- Code: ---directo="c:\\scriptbasic\\database\\"
hdb=sqlite::open(directo & "registro_fechas.db")
--- End code ---

AlyssonR:
Try this:


--- Code: ---directo="c:\\scriptbasic\\database\\"
fileno="registro_fechas.db"
hdb=sqlite::open(directo & fileno)

--- End code ---

or even


--- Code: ---directo="c:\\scriptbasic\\database\\"
fileno="registro_fechas.db"
ofile = directo & fileno
hdb=sqlite::open(ofile)

--- End code ---

Sometimes, it pays to keep arguments free of literal strings.

Script_test:
 :)
Thank you!!

Navigation

[0] Message Index

[*] Previous page

Go to full version