|
-
Mar 9th, 2008, 12:27 PM
#1
Thread Starter
Lively Member
[RESOLVED] How do I check if a date is less then 120 days?
Ok, this one is beyond me. None the less, I need some guru help to accomplish this. This is where your expertise comes in...
I have SQL statement retrieve a Date from a field in an Access database to be displayed in a textbox txt(2).Text. This particular date is an expireration date. I need to check to make sure that this date is not less than 120 days. If it is I will have my code mark it as RED to the user.
I already have my SQL statement working fine for retrieving the specific date and displaying it in txt(2).Text. My issue is that I do not know the proper coding to check if the specific date is < 120 days.
I am using VB6 for all my coding needs.
Thank you all for your time and efforts,
Azeccia
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|