barcode label

jgalanjgalan Member Posts: 8
Hi everybody,

I need to print barcode labels in 3 diferent scenarios: Posted Sales Shipments, Posted Purchase Receipts and Posted Purchase Invoices. Basically, the data to print into the label is the primary key of each table. I have already done it in 3 reports, one per table, and everything works fine.

Now, due to license restrictions, I've to print the 3 values within a single report. I though that the best solution was to create a new report, based on a single dataitem of type Integer with Maxiteration=1 (just 1 label needed each time). My intention was to pass as a parameter the value to print, something like this:

//External call to the report
myreport.SetParams("No.");
myreport.RUN;

//inside the report
SetParams(pDataToPrint)
DataToPrint:=pDataToPrint; //DataToPrint is a global var

I've checked if DataToPrint is properly initilized and it is, but when I try to display
its value in the body section of the Integer dataitem, I only get an empty print preview.

What I do wrong?

Any help will be apreciated.
Thanks in advance,
JGalan

Comments

  • jgalanjgalan Member Posts: 8
    Hello again,

    I've found the solution to my previous post.
    In fact, It was trivial: I'm using a user defined paper size,
    according to the label size and the margins of the report were too big.
    I've set to zero the top, bottom, left and right margins and now
    everything is okay
    ](*,)

    Best regards,
    JGalan
Sign In or Register to comment.