in reply to Credit Card Billing

Use a simple date in the form of next-bill: 22-02-2002 - when the billing run is started it will just compare todays date with that of the next-run column, if a match is made the transaction will be processed. (problem here, is that if the billing isnt run for that day, the transactions will be missed)

So, you have setup a new field with the next-billing-date and you're afraid that if the program is not run that day then the transaction will be missed? How about adding a billed flag? When you establish the next-billing-date also make sure to set the billed flag to 0. That way when your program runs even if it runs after that billing date you will still bill the account because the flag has not been set. This is a simple solution but you can probably fit it to your needs with additional modifications depending upon your constraints.

metadoktor

"The doktor is in."