Hey,
The question I have is related to a POS-system :
I have a form and subform which is in fact my sales-entry form in a shop.
I have to types of sales, defined by a character "S" for Sale and "R" for Refund.
S is the regular sale; E means I take back a product from a customer which he didn't like.
For the moment I only use S; know I want to know if I can make the total amount payable calculated based on the salestype (ie. S or R)
In case of "R", the product given back to me is scanned-in, and the amount should be made negative.
In the footer of my form (and report as well) I calculate the total amount payable, total discount,... which should be a total of all "S"-lines on my subform, minus all "R" lines.
If this sounds a bit strange or it isn't really clear, feel free to react and I'll try to explain better.
Regards,
PdtIt
The question I have is related to a POS-system :
I have a form and subform which is in fact my sales-entry form in a shop.
I have to types of sales, defined by a character "S" for Sale and "R" for Refund.
S is the regular sale; E means I take back a product from a customer which he didn't like.
For the moment I only use S; know I want to know if I can make the total amount payable calculated based on the salestype (ie. S or R)
In case of "R", the product given back to me is scanned-in, and the amount should be made negative.
In the footer of my form (and report as well) I calculate the total amount payable, total discount,... which should be a total of all "S"-lines on my subform, minus all "R" lines.
If this sounds a bit strange or it isn't really clear, feel free to react and I'll try to explain better.
Regards,
PdtIt