Hi All,Probably being really, really stupid here (Wouldn’t be the first time!), but I’ve got a resource booking db set up and need to add a action button (Calling a Shared Action) which accesses a floor plan (A JPEG file added as a Shared Resource).
the action button itself is ok, however when I test my Shared Action, I get an error:
“Incorrect data type for operator or @Function: Time/Date expected”
The Shared Action formula is simply: “@Command([OpenDocument]:“first_floor_plan.jpg”)”
I’ve also tried a few variations (ObjectOpen etc) with no luck, also tried some forum searches, Designer Help etc but had little luck.
If anyone can point me down the straight and narrow (Or just a good slap!) then that would be great!
Subject: Shared Resource (.JPG) accessed by a Shared Action
For each floor plan you could create a page with the relevant jpg on it then have your action open the appropriate page.
Subject: RE: Shared Resource (.JPG) accessed by a Shared Action
Cheers Ian thats worked a treat!B’ah! now I cant seem to get my action bar on it - have cross referenced other forms/views and it all seems ok, yet when I access my .JPG screen the bar is no where to be seen - any more ideas?!
(not a Notes dev. hence all the questions!)
thanks again
Subject: RE: Shared Resource (.JPG) accessed by a Shared Action
Do you mean you can’t get the action bar to appear on the page containing the image?
Subject: Shared Resource (.JPG) accessed by a Shared Action
Maybe I am really stupid here, but from your explanation I have no idea what kind of action you are going to use (View action? Form action? Action button on a form?) and what you expect it to do. Could you explain this in more detail?
Subject: Shared Resource (.JPG) accessed by a Shared Action
I think someone had a similar problem recently (or I’m mixing things up in my head) and the solution was they didn’t have a default view. Do you have a default view in your Database?