• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

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
0
Kevinfeening
Asked:
Kevinfeening
  • 3
  • 2
1 Solution
 
McKnifeCommented:
Most probably, it's not the OS's fault. Please compare the installed versions of involved softwares and try to keep them in sync.
0
 
KevinfeeningAuthor Commented:
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
0
 
McKnifeCommented:
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.
0
 
KevinfeeningAuthor Commented:
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
0
 
McKnifeCommented:
Ok, so make sure your system is patched (optional updates as well, since those fix many bugs) and if the problem persists, you might have found a bug. But I cannot really judge it since I don't code this.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now