Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

nuRunPDF ?

Locked
rnott
Posts: 31
Joined: Fri Mar 14, 2014 6:14 pm

nuRunPDF ?

Unread post by rnott »

In the Documentation on the nuBuilder website... if you navigate to "Creating a Report"...below the first image, it reads...

Reports created in this section can be used by running a Javascript function called nuRunPDF() and passing the Code of this Report record as a parameter eg nuRunPDF('001');

does "nuRunPDF" need to be changed to "nuPrintPDF"?
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: nuRunPDF ?

Unread post by admin »

rnott,

Yes.

I have now fixed it. Thanks for letting me know.

Steven
nekpap
Posts: 27
Joined: Wed Dec 03, 2014 7:41 am

Re: nuRunPDF ?

Unread post by nekpap »

Hi,

nuPrintPDF('marks_print'); was added to an extra action button, to print a pdf.

When I press the button error message comes up : '' Cannot be left blank.

On another form nuPrintPDF('marks_print'); is working perfect.

Any ideas what's wrong?

Nektarios
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: nuRunPDF ?

Unread post by admin »

Nektarios,

Maybe hash variables you are using aren't available on both pages.

use nuDebug() to print out the sql.

Steven
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: nuRunPDF ?

Unread post by massiws »

Nektarios,
have you read this post?

Max.
nekpap
Posts: 27
Joined: Wed Dec 03, 2014 7:41 am

Re: nuRunPDF ?

Unread post by nekpap »

Thank You Max!!!!

That was the problem!

Thank you very much!

Nektarios
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: nuRunPDF ?

Unread post by massiws »

.
Locked