There is a tool called ezdbmail that does this for you and is Oracle version independent.
check out www.ezdbmail.com
there is a free version to try.
hth
randy
a followup point...
what I meant was, if you use a rule during your manual update that says for example: if start_dt and start_tm (why these are two seperate columns is another question) are older than sysdate, and end_dt is null, then assign the status of 700 (Open) to the record, then you can...
Most objects that can be displayed have a method that controls color. i.e. SetBkColor( RGB(0,0,0)) etc.
Look in the MFC documentation to see how to control color for your particular class.
if you are painting into a Device Contect then you need to also draw the objects yourself...
Maybe your status column is not really appropriate. Is it a derived value? in other words, do you always know by rules associated with the dates what the status should be?
In this case, you can just select a status text based on the date rules at query time. This could be a callable function...
Also check out a cool utility called EZDBMail
www.ezdbmail.com
it works on Oracle 7 and 8, and you dont have to learn smtp.
just insert some data to a table ,and then a mail is formatted and sent.
Randy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.