Page 1 of 1

LiveCode & Pdf or Openoffice/Excel Documents?

Posted: Fri Jan 14, 2011 10:10 am
by foxlo
Hello,

im totally new to this and i am a beginner in coding,

i used for my "projects" autoit, but i want to try some new/other things


so here is my question,

are there possibilities to code using liveCode a programm that uses SQL Database (already saw that on the lessons page) and create depending on the data excel/Openoffice documents or directly PDF's ?

br

Re: LiveCode & Pdf or Openoffice/Excel Documents?

Posted: Fri Jan 14, 2011 11:45 am
by Klaus
Hi br (what a funny name :wink: )

welcome to the forum! :)

Yes, LiveCode can connect to many SQL databases and it can also output to PDF!
So you would need to create a nice card layout for your data and you can then export to PDF.

Exporting to EXCEL file format is a totally different beast and that cannot be done with the
build-in capabilities of LiveCode. At least not out of the box!

Maybe this is possible, but then you need to know the EXCEL binary file format and rebuild
it from scratch in LiveCode.


Best

Klaus

Re: LiveCode & Pdf or Openoffice/Excel Documents?

Posted: Fri Jan 14, 2011 12:08 pm
by foxlo
hi klaus,

thanks for your reply.

good to hear.

Do you have samples or some "demonstration" code where i can see how this card to pdf works?

Re: LiveCode & Pdf or Openoffice/Excel Documents?

Posted: Fri Jan 14, 2011 12:23 pm
by Klaus
Hi vr,

no, sorry, no example, but this is just a slight variation of the PRINT command :)
Check the Release Notes (Menu: Help) for "Print to pdf support".


Best

Klaus