H
hthagood
I am fairly new to access (using 2003 with a 2000 format project). I
have created a budget control module that tracks a line item budget and
any updates, and can then assign a purchase order to that line.
I have a main form that has the budget line item number, description,
and contract number. Then I have a subform that track actual and
forecast payments. The child/master fields are the Budget line number
and the contract number.
To begin with I set up all the line items with a generic contract
number "Not Bid" that is just a zero amount entry in my purchase order
table. I also set up each line item with all the monthly periods set
to zero (this allows me to forecast cost even without a purchase
order). Once I award a purchase order I change the "Not Bid" contract
number to the actual contract number, for instance, "01011.23"
My problem is that once I do that the detail payment records that were
created with a contract number of "Not Bid" are no longer associated
with that master record.
I need to write code that AfterUpdate of the contract number it updates
all the detail payment records contract number to match the master
contract number.
I hope I explained that well enough. Thanks for the time.
have created a budget control module that tracks a line item budget and
any updates, and can then assign a purchase order to that line.
I have a main form that has the budget line item number, description,
and contract number. Then I have a subform that track actual and
forecast payments. The child/master fields are the Budget line number
and the contract number.
To begin with I set up all the line items with a generic contract
number "Not Bid" that is just a zero amount entry in my purchase order
table. I also set up each line item with all the monthly periods set
to zero (this allows me to forecast cost even without a purchase
order). Once I award a purchase order I change the "Not Bid" contract
number to the actual contract number, for instance, "01011.23"
My problem is that once I do that the detail payment records that were
created with a contract number of "Not Bid" are no longer associated
with that master record.
I need to write code that AfterUpdate of the contract number it updates
all the detail payment records contract number to match the master
contract number.
I hope I explained that well enough. Thanks for the time.