I think what I have done is created a monster. All I really want to do is
...
I have a form that a sales amount is entered in field SLSAMT in a tbl
SALES TBL. (CUST TBL one to many to SALES TBL) I also want the same
amount put into a another field (same SALES TBL) called SLSAMT FOR COUPON.
Heres my requirements and why I took the approach I did. SLSAMT will give
me totals of sales for all sales. This works fine. I also need these
amounts to total for printing a 5.00 off next purchase coupon if the total
of SLSAMT is 50.00 or over, and the store wants to print the coupon. I use
SLSAMT FOR COUPON for this because, When the store does print the coupon
(can happen ANY time SLSAMT FOR COUPON is 50.00 or over) , I need to add a
new record to to the tbl with SLSAMT zero and SLSAMT FOR COUPON -50.00 to
show a current amount for coupon reduced by 50.00. SLSAMT will show me
total amount of sales, and SLSAMT FOR COUPON will show me a current total
for coupon and how many coupons we have printed (the -50.00 records). I
have tried different ways to duplicate SLSAMT into SLSAMT FOR COUPON on
the form without keying it twice without success. I'm currently trying to
find the best approach to learn VB so that I can solve many problems I run
into and any suggestion to the best way to learn this would be helpful.
Thanks for any help
wwv