BusinessObjects Board

Can I supress the 'No Data To Fetch' message?

Hi,
it’s possible disable no data fetch message in Webi Reports?

Here the code for DESKI:

Private Sub Document_BeforeRefresh(Cancel As Boolean)
Application.Interactive = False
End Sub

Private Sub Document_AfterRefresh()
Set Doc = ActiveDocument
If Doc.DataProviders(1).NbRowsFetched = 0 Then
MsgBox "Nessun Dato è stato recuperato"
'do your "capture" logic
End If
Application.Interactive = True
End Sub

I’ve IIS Application Server…

Jack


jack66 (BOB member since 2002-11-07)

My customer has request to replace the “Webi Message” no data found etc etc with a specific “message”…

it’s possible?
please
:reallymad:


jack66 (BOB member since 2002-11-07)

I haven’t looked for them yet in XI, but in 6.5 there were message libraries for each language. Those libraries were - at that time - text files that could be updated. If you’re running on a unix server the “grep” command can be used to scan an entire folder tree looking within files for a specific string.

There are options in the BusObj FAQ that also might be of some use, since VBA solutions will not work on Webi. The ideas include creating union queries with at least one row and some other ideas. If you look at the FAQ in the Business Objects Classic forum you’ll see the topic I am talking about.


Dave Rathbun :us: (BOB member since 2002-06-06)

Dave,
my XI is on Windows;now I tried to find the right “libraries”.
thanks


jack66 (BOB member since 2002-11-07)

Dave,
if I find and change the message in the “right libraries” this will cause that ALL messages in XI will be modified! :hb:

My problem in identified the api .NET (IIS appl server) that is equivalent at

Doc.DataProviders(1).NbRowsFetched = 0

and how can I develop and deploy this “api” in .NET enviroment.

Jack


jack66 (BOB member since 2002-11-07)

Hi Dave and Jack!

Jack, you’ve reason. We can to suppress or to modify the message: ‘No Data To Fetch’.

The reply at this question is:
Disabling/removing the "No data to fetch" message .

But this for ALL the Documents.

JOI.


JOI (BOB member since 2007-10-04)