Livecode, DBLib and Quartam Reports

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
nicoloose
Posts: 99
Joined: Mon Sep 16, 2013 3:35 pm

Livecode, DBLib and Quartam Reports

Post by nicoloose » Mon Oct 21, 2013 10:58 am

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

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Livecode, DBLib and Quartam Reports

Post by MaxV » Mon Oct 21, 2013 11:15 am

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.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

nicoloose
Posts: 99
Joined: Mon Sep 16, 2013 3:35 pm

Re: Livecode, DBLib and Quartam Reports

Post by nicoloose » Mon Oct 21, 2013 2:51 pm

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.

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Livecode, DBLib and Quartam Reports

Post by MaxV » Tue Oct 22, 2013 2:48 pm

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
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply