I have been developing several databases over the last couple of years, and whilst i wouldn't consider myself a genius i am pleased with what i have learnt and achieved in this time. In the course of this development i have found a couple of times that i wish to apply a similar value to multiple records. Now is the time to learn how......with someones guidance though.
This particular database is record of medicine purchased and administered on animals on a farm. Usually i would enter the ID of the animal then select which medicine has been administered. This is OK but now with over 200 cattle on the farm and TB testing etc, there has been several occassions where i want to record the same medicine to all cattle.
What VB code (or keywords) would i use for this. I am guessing on some kind of FOR, NEXT loop that reads each record from the query/table, applies the necessary value to it, then moves on to the next record.
Any help would be great. Thanks in advance.
This particular database is record of medicine purchased and administered on animals on a farm. Usually i would enter the ID of the animal then select which medicine has been administered. This is OK but now with over 200 cattle on the farm and TB testing etc, there has been several occassions where i want to record the same medicine to all cattle.
What VB code (or keywords) would i use for this. I am guessing on some kind of FOR, NEXT loop that reads each record from the query/table, applies the necessary value to it, then moves on to the next record.
Any help would be great. Thanks in advance.