Topic: Adding new related record by form

I have two forms - Form A which is my item and Form B which is my transaction.
I have Form A open and I click my Add button to Add a new Transaction.

On Click has the following assignments

   frmTransaction.edDescription.Text := frmCoin.edDesc.Text;
   frmTransaction.DBImage1.Picture := frmcoin.DBImage1.Picture;
   frmTransaction.DBImage2.Picture := frmcoin.DBImage2.Picture;

When the Form B opens I do not get the assignment values based on the above on click event.

How can I preset the values in Form B based on values in Form A?

Robb

2 (edited by rjkantor 2016-02-24 15:06:49)

Re: Adding new related record by form

I think the issue was I was using Add record and not Show Form.

Although now, I am not getting the relationship field being populated when I save the form.  Is this something that can be done through script?

RK

Re: Adding new related record by form

Hello,


Please attach your project.

Dmitry.