K Feening
asked on
Windoiws 8 and Report viewer 2008
Hi Experts
We have a Report Viewer 2008 in VB.net and Visual Studio it runs correctly in Windows 7 but prints #Error when the PC was replaced with Windows 8 Machine
The Code is
=IIF (Parameters!PaymentDate.va lue <> "",
"Paid With Thanks on " & Parameters!PaymentDate.val ue,
IIF (Parameters!OutStandingAmo unt.value <> 0,
"Outstanding Amount " & Parameters!OutStandingAmou nt.value, ""))
This shows as #Error
Thanks
We have a Report Viewer 2008 in VB.net and Visual Studio it runs correctly in Windows 7 but prints #Error when the PC was replaced with Windows 8 Machine
The Code is
=IIF (Parameters!PaymentDate.va
"Paid With Thanks on " & Parameters!PaymentDate.val
IIF (Parameters!OutStandingAmo
"Outstanding Amount " & Parameters!OutStandingAmou
This shows as #Error
Thanks
Most probably, it's not the OS's fault. Please compare the installed versions of involved softwares and try to keep them in sync.
ASKER
Thanks
But I forgot to mention in the same report the following code works correctly ?
=IIF (Parameters!PaymentDate.va lue <> "",
"Payment Due" & date.value(Parameters!PaymentDate.va lue), "")
Would the added date.value missing from the first IIF statement be the problem
But I forgot to mention in the same report the following code works correctly ?
=IIF (Parameters!PaymentDate.va
"Payment Due" & date.value(Parameters!PaymentDate.va
Would the added date.value missing from the first IIF statement be the problem
Sorry, my programming abilities don't include VB.
You should still see if the program versions are the same, since win8 itself will most probably not interpret the code differently compared to 7.
You should still see if the program versions are the same, since win8 itself will most probably not interpret the code differently compared to 7.
ASKER
I don't do the installs and I checked with the person who installed it and he said the install and versions are correct
he also installed the same access database and programs on a windows 7 and it worked fine
he also installed the same access database and programs on a windows 7 and it worked fine
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.