Save 2 forms on 2 database simultaneously

Hi all,I have 2 forms on WEB applications: FormA in Database1 and FormB in Database2 with same fieldnames

When I click at SAVE button on FormA in Database1, I would like to have the changes to be reflected in BOTH Forms. Is it possible ?

Right now, am using “CopyToDatabase” in my agent that will push all FormA documents in Database1 to FormB documents in Database2. The agent scheduled to run 2x daily. Hence, any changes made to FormA is not reflected in FormB real time.

Pls help. Thank you.

Subject: Save 2 forms on 2 database simultaneously

Jech,

Why don;t you put your CopyToDatabase code in the Save button of FormA?

Mike

Subject: RE: Save 2 forms on 2 database simultaneously

Tried that but it will generate a new document(with the change)using FormB in Database2.

Result:

FormA with changes00 ==> Document1

FormB with original data ==> Document1

FormB with changes00 ==> Document2

Subject: RE: Save 2 forms on 2 database simultaneously

Try to Change the Agent Tigger to “New Doc is created or modifyed”

Subject: RE: Save 2 forms on 2 database simultaneously

Already did.