I used a maskeditbox to ensure the entries made to an Access database were made correctly, but now I need to do run a labels based on the date. Is there an easy way to handle this?
You can use also InStr(or InStrRev) to find the matches wanted, another way would be to use regular expresion from the vbscript runtime library(the regexp object).
It has a rather strange sintax but is the fastest and versatile of all.
Anyway if you will spend some time learning Regular Exppresion you will find for it many usages.
Hope this helps s-)
Blessed is he who in the name of justice and good will, shepards the week through the valley of darkness...
I ended up doing a type conversion from string to date during my search and this worked much better than the StrComp and InStr...mainly because it ended up being so much simpler and easier to code. Thanks for the help.
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.