M
MIA
I want to paste a value which is on my active Form field
control to Table field which is not opened.
Form Name is "Form1" (This form is based on Table "CALM1")
Form Field Control Name is "LPONUM" (Field type is numeric)
Form Field Control Name is "InvoiceNo" (Field type is
numeric)
Other Table is "MOF2", and its field are :
Field is "LPONUM" (its a numeric field)
Field is "InvoiceNo" (Its a numeric field)
Note: First the Table MOF2 data is posted, then the Form1
is opened to post data.
My requirement:
After Update event of "LPONUM" on form, It will open
the "MOF2" Table with the condition that Table - InvoiceNo
should be same as Active Form InvoiceNo and then paste the
value of "LPONUM" to Table "LPONUM" field. Just to
understand more clear I will write the following incorrect
way code :
IF Tables!MOF2!InvoiceNo=Forms!Form1!InvoiceNo Then
Forms!Form1!LPONUM = Tables!MOF2!LPONUM
The above is not a code , but it is just to understand the
situation well.
can any one advise me.
control to Table field which is not opened.
Form Name is "Form1" (This form is based on Table "CALM1")
Form Field Control Name is "LPONUM" (Field type is numeric)
Form Field Control Name is "InvoiceNo" (Field type is
numeric)
Other Table is "MOF2", and its field are :
Field is "LPONUM" (its a numeric field)
Field is "InvoiceNo" (Its a numeric field)
Note: First the Table MOF2 data is posted, then the Form1
is opened to post data.
My requirement:
After Update event of "LPONUM" on form, It will open
the "MOF2" Table with the condition that Table - InvoiceNo
should be same as Active Form InvoiceNo and then paste the
value of "LPONUM" to Table "LPONUM" field. Just to
understand more clear I will write the following incorrect
way code :
IF Tables!MOF2!InvoiceNo=Forms!Form1!InvoiceNo Then
Forms!Form1!LPONUM = Tables!MOF2!LPONUM
The above is not a code , but it is just to understand the
situation well.
can any one advise me.