I have a table that looks like this
ID Aging Category
1 current
2 1 week old
3 2 weeks old
ect all the way to 14
I have another table that has a date in it. Basically what I would like to do is find out how far back that date is and assign the corresponding ID to it based on the aging category. I don't really need it to be automatic (I can run it from a form).
My problem is figuring out how to populate that field. Would I use a query? Or do I need to create a module and do it with code?
Any help at all is very much appreciated!
Thanks,
Chris
ID Aging Category
1 current
2 1 week old
3 2 weeks old
ect all the way to 14
I have another table that has a date in it. Basically what I would like to do is find out how far back that date is and assign the corresponding ID to it based on the aging category. I don't really need it to be automatic (I can run it from a form).
My problem is figuring out how to populate that field. Would I use a query? Or do I need to create a module and do it with code?
Any help at all is very much appreciated!
Thanks,
Chris