?
Solved

FM - Webviewer Error on Find

Posted on 2012-09-05
3
Medium Priority
?
579 Views
Last Modified: 2012-09-06
I set up a Webviewer to show pdf files, which I've done before.  However, this time when I go into Find mode, it gives the following error:
"Cannot find 'file:xxxx.'  Make sure the path or Internet address is correct.

My path is:
"file://R:/FM_Files/PROPERTYINFO/" & 
PROPERTYINFO::PropCode & PROPERTYINFO::RaishCode & PROPERTYINFO::EntityNumber & "/" & 
PROPERTYINFO::PropCode & PROPERTYINFO::RaishCode & PROPERTYINFO::EntityNumber & "_Deed.pdf"

Any suggestions?
0
Comment
Question by:rvfowler2
  • 3
3 Comments
 
LVL 2

Author Comment

by:rvfowler2
ID: 38373312
And to clarify, no, in Webviewer setup, the box is NOT checked that says to display content in Find mode.
0
 
LVL 2

Author Comment

by:rvfowler2
ID: 38373622
Issue is that when you are in Find Mode, it is not on any record, and thus the fields in the calc above show no data in Find Mode.  So, question still is; how do you get around this and why does it still try to render even though I have Find unchecked?
0
 
LVL 2

Accepted Solution

by:
rvfowler2 earned 0 total points
ID: 38373757
Figured it out.   You can use the Get ( WindowMode )  function ( Find = 1); however, if there is any reason why the fields you use in your calc may be empty in Browse mode, the below would work better.

If (

IsEmpty ( PROPERTYINFO::PropCode ) or
IsEmpty ( PROPERTYINFO::RaishCode ) or
IsEmpty ( PROPERTYINFO::EntityNumber )

 ; "" ;

"file://R:/FM_Files/PROPERTYINFO/" & 
PROPERTYINFO::PropCode & PROPERTYINFO::RaishCode & PROPERTYINFO::EntityNumber & "/" & 
PROPERTYINFO::PropCode & PROPERTYINFO::RaishCode & PROPERTYINFO::EntityNumber & "_Deed.pdf"

)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question