Obtaining a field value from a selected document in an embedded view

Posted on 2005-04-28
Medium Priority
Last Modified: 2013-12-18
I have a form called category that contains a single field for a category value.

I have a category view that uses the category form and shows the category field value in the first column ascending.

I have an Product form that contains a field to hold the category value along with additional information about the product. The category view is embedded on this form.

I want to be able to single click the embedded category view and obtain the category field value of the document selected to modify a value on the Product form.  I looked at embedded editors but they change the value of the form used in the link and I don’t know how to get a handle on the Product form from the embedded category form.

I know (without embedding anything) I could use:

choice:=@UpperCase(@PickList( [Custom] : [Single] ; @DbName ; "Categories" ; "Select a category" ; "Please select a category for this new Item Master Entry" ; 1 ));

FIELD ProductCategory := choice;

But I want to avoid using picklist popups and input boxes to gather the information.

Thank you in advance for your help
Question by:fledav01
LVL 46

Expert Comment

by:Sjef Bosman
ID: 13887464
My guess: impossible. But I can't quite visualize what your goal is. Single clicking something ans still updating a Product? Usually, you open a Product document and you select a category. What's the general idea?
LVL 15

Expert Comment

ID: 13892280
R6 ?  Then you can show the action bar in your embedded view (I think - must check - too lazy right now).

You can try anyway to put the action on the Form that holds the view

What will work for sure (again, R6 only) is to make your embedded view and Editable view (because I'm using that myself).   Let us know if you use R6, then I'll post an example.




Author Comment

ID: 13894239
Thank you for the responses so far.  Yes I am using R6 and the app is for the client.

Perhaps it would be clearer if I explained it this way.  In VB you can dxrag a datasource control to the form and then map the column values to fields on the same form.  When the app is run clicking on an item in the datasource control updates the fields on the form.  Is that clearer?

Thanks again for your help so far.

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!


Expert Comment

ID: 14006641
Use a listbox field, not an embedded view.  Your Choices formula will be


That's all!

Expert Comment

ID: 14006644
By the way, the ProductCategory field will be the field you turn into a listbox.

See - it's easier than VB.

Author Comment

ID: 14695399
I accomplished it with frames - put the form in one frame and specified that as the target for links from the frame that contains the embedded view.  Thanks for all the input.  Can I give myself the points?

Accepted Solution

CetusMOD earned 0 total points
ID: 16255297
PAQed with points refunded (500)

Community Support Moderator

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month16 days, 11 hours left to enroll

862 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