Reviewing what I've done so far, can you tell me if I on the right track or painting myself into a corner.
I've been reading as many posts as I can today about entering alphanumeric text but cannot find an answer.
Thanks,
Okay, fixed my maxlength issue and it ended up being a litle more then what I had previously posted.
I changed the "If Len(job) <> 12" to "If Len(job) < 11"
Below is an additional change I made in module 1. I chaged the value = 4 to >=4
Dim temp
temp = GetCgiValue("do")
If temp = 0 Then...
I've can now enter the a new project code with an additonal number but I do get an error when I attempt to do a Lookup after it has been entered. I haven't figured out how to enter a letter, but for the moment, the additional digit will work.
Your tips have come in very handy, though I'm not...
Ok, inserted the breakpoints but I'm not sure what I'm looking at or looking for.
I removed the breakpoints and stepped thru using the F8 key
It never got to module2 that has the CGIValues.
Would you be willing to look at the whole thing if I could get it to you jwalthers@pkce.com
Changed to 12 at two locations and had the same result
"You have entered an INVALID JOB NUMBER! Please go back and fix the error" grrrrr. This has been driving me crazy for weeks. It doesn't seem that difficult to figure out but I just can't find it.
Would the size=6 make any difference. It...
Thanks for the reply.
Here's a portion of the script that defines the MaxLenght of the fields. I pulled some data out of the middle. The jn1 (New job) and jne1 (Existing job) are the fields I'm attempting to increase to 5 characters.
Option Explicit
Sub NewForm()
Send "<html><head><title>New...
My disclaimer- I've been a hardware person my from the start of my IT career with very basic programing experience.
I've started with a company that has a web based project database. It looks like it was created in VB4. It has a CGI4VB script at the beginning that seems to setup the form
that is...
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.