Jump to content

Recommended Posts

Posted

I use Fast Report with UniGui and all is ok. First I have one report,generate PDF from FastReport and then display it in new form in UniURLFrame. Now I have tree different reports and when I generate one and show it I cant show other reports. Every time I generate different reports and then click button to show it I get first generated report.

Please help

Posted

That's because you're using the same name for the PDF file. I recommend that each generated PDF has a unique name.

Posted

That's because you're using the same name for the PDF file. I recommend that each generated PDF has a unique name.

Use this for filename generation:

 

formatdatetime('yyyymmddhhnnzzz', now) + '.pdf'

this is absolute unique :)

 

Mortymer

Posted

Use this for filename generation:

 

formatdatetime('yyyymmddhhnnzzz', now) + '.pdf'

this is absolute unique :)

 

Mortymer

I have added a random at the end, there were cases when the 1s formed more than one report.

  • 2 weeks later...
Posted

I need to make the same name for the pdf file..

I already delete the old file, and create the new one..

How to display the new one in urlframe? Is it posible?

 

 

Add some random value at the end of url like "R-123456.pdf?918237121212456"

 

... the next time urlframe refreshed

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...