Page 1 of 1

Livecode, DBLib and Quartam Reports

Posted: Mon Oct 21, 2013 10:58 am
by nicoloose
Good day,

Does anyone have a working example of printing from an sqlite databse using the DBLib library? I need to ask some questions as my coding skills are non-existent.

Thanks
Nic

Re: Livecode, DBLib and Quartam Reports

Posted: Mon Oct 21, 2013 11:15 am
by MaxV
If you have no program skills, probably you don't need that library. Please, explain better what you want to do with a clear example. Livecode embed sqlite3, so probably Livecode already has all you need.

Re: Livecode, DBLib and Quartam Reports

Posted: Mon Oct 21, 2013 2:51 pm
by nicoloose
I have actually managed to figure out how to use DBLib commands to print to the quartam print stack. Thank you for your time though. My next problem will be to put together the correct SQL statements to gather data from separate tables all at once instead of using multiple selects.

Re: Livecode, DBLib and Quartam Reports

Posted: Tue Oct 22, 2013 2:48 pm
by MaxV
I don't have Quartam Reports, but to print a stack usually this is the code:

Code: Select all

 print stack "a very cool stack"
Probably you should read this: http://livecode.wikia.com/wiki/Printing

Regarding SQL, please, give me an idea of tables and data and what you need. :D