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
Solved

Inherit Values between databases on the Web

Posted on 2004-08-16
3
205 Views
Last Modified: 2013-12-18
I am attempting to inherit values from doc created with form "A" into doc created with form "B". Form "B" resides in a different database than form "A" and the form property "Formulas inherit values from selected document" is enabled and fields are set to computed to the values of the parent docs field name.

Inheritance works fine in the Notes client but values do not pass to the new docs created in the web browser. Is it possible that inheritance does not work on the web when creating docs in another database or am I just doing something foolish?

0
Comment
Question by:ccarlson62
3 Comments
 
LVL 31

Expert Comment

by:qwaletee
ID: 11814445
Hi ccarlson62,

Yes, the web inheritance mechanism relies on a parameter in the URL called &ParentDocumentUNID=****** -- but it does not designate a database, so the database is ALWAYS assumed to be the same database the response is in.  There are a few ways around it, if you like...

1) Create a special URL of your own to pass values, and have the WebQueryOpen agents bring the "inherited" values back in
2) Create a special URL containing all the passed values, and get them back out of the URL in the new doc
3) Create the document in the original database, but have the WebQuerySave move the result into the target database

I'm sure other ways are posisble as well.

Cheers!
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11814515
If you are using R6, look for ComposeWithReference command.

For R4 & R5, you have to create agent which will grab values from current document and create a doc in another db and open it.

~Hemanth
0
 
LVL 19

Accepted Solution

by:
madheeswar earned 125 total points
ID: 11817560
if it is fewer fields then use Query_String and Query_Decoded fields.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.

856 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