update multi records on the subform

SSDB

Registered User.
Local time
, 19:24
Joined
Jul 25, 2015
Messages
11
I have “animal_sales_main” as a main form and “animal_sales_detials Subform” as a subform contain one record or many records, the control object in the animal_sales_detials Subform it is field “ animal_id”
And I have a table named “animals” has fields “ animal_id” , “ status” .....etc

The target is :
When I add any records in field “animal_id” on the subform “ animal_sales_detials Subform” and click some button :

All the records in the table “animals” that have the same “animal_id “ in the subform will update the “Status” field by word “sold”
?

please, to see the attached

Regards
 

Attachments

Last edited:
That form/Subform is an Invoice, so, why would there be more than one Animal ID per Invoice Detail? You are selling one Animal right?
 
you may try this.
 

Attachments

Dear Mr. GinaWhipp
no some time some time more than one animal for same customer

Dear Mr.arnelgp
your attached do nothing


and please to see the updated attach

regards
 

Attachments

sorry for that I thought it will only be tagged "sold" when there is cash involved, anyway I change it. Try editing or adding records.
 

Attachments

Mr. arnelgp
you are great ...many thanks :):):):)


regards
 

Users who are viewing this thread

Back
Top Bottom