Pat S
September 14th, 2001, 02:23 PM
I have an application that only accepts 7 digit ID numbers. I need it to accept 9 digits and 7 digits. The code is full of validation rules. I can get it to accept 9 by changing the 7s to 9s, but that doesn't help me. I need it to accept both. There are three areas in the code that I am hung up on.
qd!pSiteNumber = Left(cmbSite, 7)
Dim strSaveSiteNumber as String * 7
qd!PSaveSiteNumber = Left$(Trim(cmbSite.text),7)
Any suggestions would be GREATLY appreciated.
Pat
qd!pSiteNumber = Left(cmbSite, 7)
Dim strSaveSiteNumber as String * 7
qd!PSaveSiteNumber = Left$(Trim(cmbSite.text),7)
Any suggestions would be GREATLY appreciated.
Pat