[FONT="]So I’m posting this in VBA because I’m just assuming it’s the only way to make this function happen, if at all (please be advised I’m a newb and forgive me if I am mistaken). I’ve gotten by with macros thus far so I’m not so savvy with VBA yet.[/FONT]
[FONT="]
[/FONT]
[FONT="]The situation is fleet management; Many vendors with many vehicles. The active vendors have active and inactive vehicles. Currently, inactive vendors still have both active and inactive vehicles (this is what I want to eliminate from happening in the future). What I would like to happen is when the “Vendor Is Active” bool is set to false, all vehicles related to the vendor change to inactive (false) as well. I realize I could do this manually for each vehicle first but it seems that didn’t work well in the past for the end user and I would like to make this as simple as possible for them.[/FONT]
[FONT="]
[/FONT]
[FONT="]The structure is: Vendor table, vehicle table (joined by VendorID), A form to edit the vendors (based on an active vendor query; inactive vendors are on a different form). A combo box filters the vendors and a button will bring up the vehicles form displaying vehicles for that vendor. [/FONT]
[FONT="]Any help or suggestions would be greatly appreciated! [/FONT]
[FONT="]
[/FONT]
[FONT="]The situation is fleet management; Many vendors with many vehicles. The active vendors have active and inactive vehicles. Currently, inactive vendors still have both active and inactive vehicles (this is what I want to eliminate from happening in the future). What I would like to happen is when the “Vendor Is Active” bool is set to false, all vehicles related to the vendor change to inactive (false) as well. I realize I could do this manually for each vehicle first but it seems that didn’t work well in the past for the end user and I would like to make this as simple as possible for them.[/FONT]
[FONT="]
[/FONT]
[FONT="]The structure is: Vendor table, vehicle table (joined by VendorID), A form to edit the vendors (based on an active vendor query; inactive vendors are on a different form). A combo box filters the vendors and a button will bring up the vehicles form displaying vehicles for that vendor. [/FONT]
[FONT="]Any help or suggestions would be greatly appreciated! [/FONT]