Hi... can i ask for help... thnx....
i have 1 table in my database named: BILLING.
Fields are : Due_Date, amount(Discounted), amount(Undiscounted), final_Amount_Charge, payment_Status.
i have the payment_status field SET toDiscounted by default in my database and the final_Amount_Charge is the amount coming from the amount_Discounted field if it is not beyond the Due_Date.
EX:
BILLING
==============================================================================
Due_Date.. | amount(Discounted) |amount(Undiscounted).| final_Amount_Charge .|. payment_status
=============================================================================
2008-05-05. |...........500.00............|...600.00.........................|..... 500.00 ..............| .... Discounted
=============================================================================
NOW;
is it possible in 1 (one) SQL UPDATE STATEMENT to update my Billing table by Transferring the Amount(Undiscounted) to_Final_AmountCharge if the _DueDate is beyond the Date today...??
or do you have other possible solution for this>>?? thnx again..