C
Chuckfonta
I have a table of purchase orders which includes: client, price range,
payment status, and amount. I am trying to count the number of purchses
base upon the price range for each client. Say price ranges could be one of:
full, discount, or returned. If there is at least one purchase in each
price range count works fine, and returns the number of purchases.
However; if there is no discount purchase for example, count returns a value
which I can not use in subsequent calculations.
What I'm trying to do is calculate a rewards program based upon the number
of full price purchases and discout purchases.
I'm not famalior with Visual Basic, and have designed my system using only
the graphic interface.
payment status, and amount. I am trying to count the number of purchses
base upon the price range for each client. Say price ranges could be one of:
full, discount, or returned. If there is at least one purchase in each
price range count works fine, and returns the number of purchases.
However; if there is no discount purchase for example, count returns a value
which I can not use in subsequent calculations.
What I'm trying to do is calculate a rewards program based upon the number
of full price purchases and discout purchases.
I'm not famalior with Visual Basic, and have designed my system using only
the graphic interface.