Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Showing a pdf

$
0
0
Re: Showing a pdf
FoxInCloud
Re: Showing a pdf
Apr. 26, 2013
05:51 am
3RR0CJHRKShow this entire thread in new window
Gratar Image based on email address
From:Michele
To:FoxInCloud support
WHen you want to look in my app, you have only to ask....so you can look also to other problem on production server....


strange,
we added a SET STEP ON at the same place on another application, and execution did stop ...


I put Set Step On but nothing happens....i put the command at the beginning of the procedure but nothng happens...program doesn't go in that procedure


can you SET STEP ON in awHTML.prg!awHTMLgen.getHTML_OlePDF() and see why the new condition does not execute properly
SETSTEPON loForm = oFormIn(m.this.oControl) && what is in loForm ?IF NOT Empty(Nvl(m.Process.wUser, 0)); OR Vartype(m.loForm) == 'O' AND m.loForm.wlAnonymousAllowed


Nothing seems to change....

If you want the URL is the same and also the credentials.....Only the buttons changes....."Documentazione", then select in the first grid "Calendario corsi", then in the second grid click on the "pdf" button to open the attacched file....


modify command awhtml

please replace

IF NOT Empty(Nvl(m.Process.wUser, 0))

by
LOCAL loForm AS awFrm OF aw.vcx loForm = oFormIn(m.this.oControl)IF NOT Empty(Nvl(m.Process.wUser, 0)); OR Vartype(m.loForm) == 'O' AND m.loForm.wlAnonymousAllowed



When i try to show a pdf in a form with awolepdfxc control i have this message in my browser:

Please identify yourself to view this document

The file path is correct and in my form i set wlAnonymousAllowed = .T.







Viewing all articles
Browse latest Browse all 10393

Trending Articles