Link to home
Start Free TrialLog in
Avatar of K Feening
K FeeningFlag for Australia

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.value <> "",
"Paid With Thanks on " & Parameters!PaymentDate.value,
IIF (Parameters!OutStandingAmount.value <> 0,
"Outstanding Amount "  & Parameters!OutStandingAmount.value, ""))

This shows as #Error

Thanks
Avatar of McKnife
McKnife
Flag of Germany image

Most probably, it's not the OS's fault. Please compare the installed versions of involved softwares and try to keep them in sync.
Avatar of K Feening

ASKER

Thanks

But I forgot to mention in the same report the following code works correctly ?

=IIF (Parameters!PaymentDate.value <> "",
 "Payment Due" & date.value(Parameters!PaymentDate.value), "")

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.
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
ASKER CERTIFIED SOLUTION
Avatar of McKnife
McKnife
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial