Welcome, Guest. Please login or register.
Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - pcuevas

Pages: [1]
1
Discussion | Обсуждение / Re: CLONE page
« on: May 02, 2017, 10:34:30 PM »
I mean, when you create a new Page (call Page 2). And this new Page is very similar to Page 1, the program  could have a function called CLONE page (copy page) because it´s quite tedious to configure again all data band header etc.

Let me know if you still don´t understand.

Pablo

2
Discussion | Обсуждение / CLONE page
« on: May 01, 2017, 05:00:55 AM »
Hi Arin,

Would be possible to add function CLONE PAGE in the next release. This would be very useful in case of having a report that needs to be the same page repeated three times (Original, Duplicate, Triplicate)

Pablo

3
Hi Arin,

Once I recompile the source code of LimeReport in my Qt and I got the DLL and the headers.

Those problems disappeared.

So we can close this topic.

Thanks
Pablo

4
Sorry Arin bother you again, I cannot connect with Lime  :'( :'( :'(



I want to tell you that I'm not using the source program of Lime.
I'm directly using the binaries.

Anyway I show you again what I am doing:
- PRO File, those lines were added
LIBS += -L/LimeReport/lib/ -llimereport
INCLUDEPATH += /LimeReport/include

- Mainwindow.h
#include "LimeReport"

To create I followed same way that you did  it in demo_r1
- Mainwindow.h
LimeReport::ReportEngine *report;

- Mainwindow.cpp
report = new LimeReport::ReportEngine(this);

And the error that I got is:
debug/mainwindow.o: In function `ZN10MainWindowC2EP7QWidget':
C:\Users\pablo\Documents\Desarrollos\QTCreator\build-UsandoLimeReport-Desktop_Qt_5_8_0_MinGW_32bit-Debug/../UsandoLimeReport/mainwindow.cpp:9:
undefined reference to `LimeReport::ReportEngine::ReportEngine(QObject*)'
collect2.exe: error: ld returned 1 exit status

Any ideas?



5
Discussion | Обсуждение / Including LimeReport in QT Project
« on: April 26, 2017, 05:10:45 AM »
Hi,

I have a problem including the DLL and .h.

I add this lines to my .pro file:
INCLUDEPATH += "C:\LimeReport\include"
LIBS += "C:\LimeReport\lib\limereport.dll"

In my class I add:
#include <LimeReport>


When I compile I got this error:
C:\LimeReport\include/lrpreviewreportwidget.h:16:45: error: expected initializer before ':' token
 class LIMEREPORT_EXPORT PreviewReportWidget : public QWidget

I have not idea what´s going on.

Someone can help me.

Many thanks
Pablo

6
Discussion | Обсуждение / Re: IMAGE Relative path
« on: April 25, 2017, 09:00:14 PM »
Arin,

Is possible to use the script to load the image from disk before to execute the report?

I don´t know how to write script, I´m using Qt creator c++, is similar the syntax?

I´m back with this, because I don´t want to store the images in database, they are only temporal images.

thanks

7
Discussion | Обсуждение / Re: IMAGE Relative path
« on: April 25, 2017, 08:37:34 PM »
Ok thanks,

That means that if I want to put different images in each report these images must be in a table of a database.

8
Discussion | Обсуждение / Re: IMAGE Relative path
« on: April 24, 2017, 08:14:03 PM »
I ask that, because my image are not inside of a database. They are a files in my disk

9
Discussion | Обсуждение / IMAGE Relative path
« on: April 24, 2017, 08:09:38 PM »
Is possible to define a relative path including file name, because I am generating my own bar code and it´s different for each report.

Thanks in advance.
Pablo

10
Discussion | Обсуждение / Re: PADDING numbers
« on: April 24, 2017, 08:03:40 PM »
Many thanks Amigo!!

I make an alternate solution, as my data was comming from postgresql I create an sql statement into the datasource to get the values:

select LPAD(punto_venta::text,4,'0') AS PtoVta,  LPAD(numeracion::text,8,'0') AS Numeracion,
to_char(to_date(substring(fechaemision from 1 for 8),'YYYYMMDD'),'DD/MM/YYYY') AS fechaemision,
to_char(to_date(substring(fechainiactividades from 1 for 8),'YYYYMMDD'),'DD/MM/YYYY') AS fechainiactividades
from comprobantes_encabezado
where id = $V{IDComprobante}


11
Discussion | Обсуждение / VISIBLE items
« on: April 24, 2017, 07:43:51 PM »
Is possible to hide some Item depending of a condition?

12
Discussion | Обсуждение / PADDING numbers
« on: April 24, 2017, 04:08:30 PM »
First off, your app is great. You must accept donations for this great job.

Anyway, I would like to know if possible to pad number?
I mean if I have 23, I would like something like 0000023.

Best Regards
Pablo

Pages: [1]