Guest_imported
New member
- Jan 1, 1970
- 0
Here is my code in Javascript:
var url ="programSummary.rpt?user0=a&password0=a&user1=a&password1=a&prompt0="+str1+"prompt1="+str2;
reportWindow = window.open(url,"CrystalReports","screebX=0,screenY=0,left=0,top=0,channelmode=0,fullscreen=0,dependent=0,directories=0,location=0,menubar=1,resizable=0,scrollbars=1,status=1,toolbar=0,width=1140,height=840"
Even though I have set the uid/pwd for subreport above(user1,password1),
every time it will ask me to input username/password for the
subreport,and it will never accept my parameters, and it will prompt me to input the first parameter. Let the rest parameters blank.(but I have set the value in the above statement!). It seems that the CR can only
accept one uid/pwd from Javascript. What's
wrong with my code? or what properties should I set?
I am using CR8.0.1,IIS4.Is it a bug?
THank you very much!!!
var url ="programSummary.rpt?user0=a&password0=a&user1=a&password1=a&prompt0="+str1+"prompt1="+str2;
reportWindow = window.open(url,"CrystalReports","screebX=0,screenY=0,left=0,top=0,channelmode=0,fullscreen=0,dependent=0,directories=0,location=0,menubar=1,resizable=0,scrollbars=1,status=1,toolbar=0,width=1140,height=840"
Even though I have set the uid/pwd for subreport above(user1,password1),
every time it will ask me to input username/password for the
subreport,and it will never accept my parameters, and it will prompt me to input the first parameter. Let the rest parameters blank.(but I have set the value in the above statement!). It seems that the CR can only
accept one uid/pwd from Javascript. What's
wrong with my code? or what properties should I set?
I am using CR8.0.1,IIS4.Is it a bug?
THank you very much!!!