I'm working on a donation database and I'm a beginner to some degree. A real nebie with code. I've got this txtbox on my mainform and the below code is from a query. It seems to me that the below code could maybe be put in VBA on "after the update" The reason I'm asking for help is the level of donations is going to be growing and it will make a long string in the query grid. Is there another way to write this is vba?
Any help would be appreciated as I'm somewhat lost.
Level: Switch([SumOfDonationAmount] Between 1 And 999," Bronze",
[SumOfDonationAmount] Between 1000 And 4999," Silver",
[SumOfDonationAmount] Between 5000 And 9999," Gold",
[SumOfDonationAmount] Between 10000 And 14999," Platinum")