?
Solved

Embedded View question ver 6.5.1 - client side only - action button on embedded view needs work.

Posted on 2005-02-24
3
Medium Priority
?
228 Views
Last Modified: 2013-12-18
Hello....I have an embedded view that allows 2 different document types in the view.   I also have an action button on this embedded view that once selected, composes a document inheriting values from the selected document in the view.   I have tried unsuccessfully to ensure that the user had selected the proper document type in the view when pressing this action button.   The formula in the action button reads:

@If(FORM = "PR";
@Command([Compose];"PP");@Prompt([Ok];"Reminder";"Please Click on Product Request Record before Selecting Create Product Payment"))

I always get the Reminder...it always fails.........I select the correct document in the view, right click to see doc properties, to verify form does = "PR".  I press the action button and the compose does not occur....

Without the If statement, and just the compose, it works, but if the wrong document type was selected, my new document is lacking the needed inherited values.

I am learning from making mistakes, I am learning a lot......what did I do incorrectly?

Thanks...

0
Comment
Question by:BeastDan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 31

Expert Comment

by:qwaletee
ID: 13399073
Hi BeastDan,

Suggestion -- try the following to see what value is being returned for Form:

@If(
    FORM = "PR";
        @Command([Compose];"PP");
    @Prompt([Ok];"Reminder (" + Form + ")";"Please Click on Product Request Record before Selecting Create Product Payment")
)



Best regards,
qwaletee
0
 

Author Comment

by:BeastDan
ID: 13403109
the title bar displayed as: Reminder()


Empty.....not sure why I can not obtain value of form here...but on a regular view it's working....

I selected the correct document in the embedded view prior to testing this out.....
0
 
LVL 19

Accepted Solution

by:
madheeswar earned 200 total points
ID: 13436751
I won't think from Embedded view it will work. Did u tried from a Normal view?
What happens from a normal view and Embedded View?

0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

764 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