Setting Focus after VBscript processing
Setting Focus after VBscript processing
am 16.02.2005 15:39:35 von Drew
I have a form which has 1 textbox in it. When the user enters a number, and
tabs, it submits the form and the textbox disappears and the name of the
person that the ID corresponds to is displayed (filters recordset, returns
name). The problem I have is that this is the first textbox on the page,
and when the user tabs, the tab order gets funky and the user has to click
on the next textbox. This is unacceptable to my data entry people, as they
are used to tabbing everywhere. Does anyone have any ideas?
Here is my code for the 2 forms (the RS is created earlier),
Thanks,
Drew Laing
Re: Setting Focus after VBscript processing
am 16.02.2005 15:42:39 von Drew
Sorry, I didn't mean to post to .db, I meant to post to .general. If you
have an answer, please give it a shot, but I will copy this to .general
(sorry for crossposting also)
Thanks,
Drew Laing
"Drew" wrote in message
news:uX1KXVDFFHA.2032@tk2msftngp13.phx.gbl...
>I have a form which has 1 textbox in it. When the user enters a number,
>and tabs, it submits the form and the textbox disappears and the name of
>the person that the ID corresponds to is displayed (filters recordset,
>returns name). The problem I have is that this is the first textbox on the
>page, and when the user tabs, the tab order gets funky and the user has to
>click on the next textbox. This is unacceptable to my data entry people,
>as they are used to tabbing everywhere. Does anyone have any ideas?
>
> Here is my code for the 2 forms (the RS is created earlier),
>
>
>
>
> Thanks,
> Drew Laing
>
Re: Setting Focus after VBscript processing
am 16.02.2005 16:03:47 von reb01501
Drew wrote:
> Sorry, I didn't mean to post to .db, I meant to post to .general. If
> you have an answer, please give it a shot, but I will copy this to
> .general (sorry for crossposting also)
>
Don't post it there. This is a client-side scripting question, not ASP. Try
..scripting.vbscript
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Re: Setting Focus after VBscript processing
am 16.02.2005 16:05:53 von Drew
Already done... sorry about that...
Drew
"Bob Barrows [MVP]" wrote in message
news:%2347i4iDFFHA.3928@TK2MSFTNGP15.phx.gbl...
> Drew wrote:
>> Sorry, I didn't mean to post to .db, I meant to post to .general. If
>> you have an answer, please give it a shot, but I will copy this to
>> .general (sorry for crossposting also)
>>
> Don't post it there. This is a client-side scripting question, not ASP.
> Try
> .scripting.vbscript
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>