C
Cesar Zapata
Hi,
I"m building an inventory application. I have a form with subform that
contains
ID RecDate RecQty InStock UnitPrice
100 11/15/06 100 100 2.88
100 11/16/06 200 200 2.98
Now what i'm trying to do is when there is a shipment I need to loop
the records ..starting from the first record and so on. for example if
I ship 50
ID RecDate RecQty InStock UnitPrice
100 11/15/06 100 50 2.88
100 11/16/06 200 200 2.98
but lets say I ship 125
ID RecDate RecQty InStock UnitPrice
100 11/16/06 200 175 2.98
so first record will be gone as the "bin" is empty.
I dont know where to start with VBA....if could help me something to
start up I would really appreciated it. thank you in advance.
I"m building an inventory application. I have a form with subform that
contains
ID RecDate RecQty InStock UnitPrice
100 11/15/06 100 100 2.88
100 11/16/06 200 200 2.98
Now what i'm trying to do is when there is a shipment I need to loop
the records ..starting from the first record and so on. for example if
I ship 50
ID RecDate RecQty InStock UnitPrice
100 11/15/06 100 50 2.88
100 11/16/06 200 200 2.98
but lets say I ship 125
ID RecDate RecQty InStock UnitPrice
100 11/16/06 200 175 2.98
so first record will be gone as the "bin" is empty.
I dont know where to start with VBA....if could help me something to
start up I would really appreciated it. thank you in advance.