Hi!
In my application it's possible to print/preview child tables and table windows. I use the functions SalReportTableCreate and SalReportTableView. Because of TD 5.2 preview problems I don't use my own preview window and calls SalReportTableView with hWndNULL as display handle. When I do this on my own computer, Windows XP, all works fine. My customer has Windows Vista and he only gets an empty preview window.
Is this a known problem and is there any solution for it?
Best regards,
Tommy
SalReportTableView
Re: SalReportTableView
Hello Tommy,
We were having the same problem, and found that specifying the full path to the report template (in the call to SalReport* function) fixed things. Give that a try and let us know if that works for you too.
Cheers.
We were having the same problem, and found that specifying the full path to the report template (in the call to SalReport* function) fixed things. Give that a try and let us know if that works for you too.
Cheers.
About Me: CJ Veniot's Curriculum Vitae
Re: SalReportTableView
Hi!
Thanks for your suggestion! However, I use a full path as you can see in the attached examples.
I was wrong about the empty preview window in Vista. My Citrix connection to the customer is thru a Win2K-machine, so the behaviour is as follows:
Windows XP: OK (see screenshot)
Windows 2000: Empty preview window (see screenshot)
Windows Vista: Nothing happens!
With TD 5.1 SP6, with my own defined preview window, it works just fine in all the environments!
Best regards,
Tommy
Thanks for your suggestion! However, I use a full path as you can see in the attached examples.
I was wrong about the empty preview window in Vista. My Citrix connection to the customer is thru a Win2K-machine, so the behaviour is as follows:
Windows XP: OK (see screenshot)
Windows 2000: Empty preview window (see screenshot)
Windows Vista: Nothing happens!
With TD 5.1 SP6, with my own defined preview window, it works just fine in all the environments!
Best regards,
Tommy
You do not have the required permissions to view the files attached to this post.
Re: SalReportTableView
Hi Tommy,
Still feels like a problem with the location of the report template.
Just to rule that out, could you give the following a try: put the report template in some folder on C: (say C:\TEST, for example), modify the app to look for the report template there, and see what happens.
Cheers.
Still feels like a problem with the location of the report template.
Just to rule that out, could you give the following a try: put the report template in some folder on C: (say C:\TEST, for example), modify the app to look for the report template there, and see what happens.
Cheers.
About Me: CJ Veniot's Curriculum Vitae
Re: SalReportTableView
Hi!
You are right! When I tried to put the report template in the user's home folder it worked. The real problem was that the privilages wasn't set correctly for the folder I was using.
If you use SalReportTableCreate and the folder for the template doesn't exist you get the error message "Unable to create report template", but if the folder exists but you don't have permissions to write in it nothing happens. Something for Unify to correct?
Thanks for your help!
Tommy
You are right! When I tried to put the report template in the user's home folder it worked. The real problem was that the privilages wasn't set correctly for the folder I was using.
If you use SalReportTableCreate and the folder for the template doesn't exist you get the error message "Unable to create report template", but if the folder exists but you don't have permissions to write in it nothing happens. Something for Unify to correct?
Thanks for your help!
Tommy
Re: SalReportTableView
Hello Tommy,
Glad to hear you found the problem and got things working.
Cheers and best regards.
Glad to hear you found the problem and got things working.
Cheers and best regards.
About Me: CJ Veniot's Curriculum Vitae
Who is online
Users browsing this forum: [Ccbot] and 2 guests