Hi everyone,
I'm thinking, is it possible to create a textbox class, which would accept different data types. Obviously, the return value would be always a character type, but is it possible to simulate different data types by using Format and InputMask property.
E.g. abc - character field - txtUniversal.MaxLength=fsize(abc)
abc - numeric field -//- txtUniversal.InputMask=replicate('9',fsize(abc)) - BTW, how can I determine number of digits?
abc - logical ????
abc - date ?????
abc - datetime ????
Or it's a bad idea and better use different textbox classes for this?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog