A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

REPOST : HELP Tab Order - (Rick B.)



 
 
Thread Tools Display Modes
  #1  
Old October 22nd, 2004, 01:01 AM
ym
external usenet poster
 
Posts: n/a
Default REPOST : HELP Tab Order - (Rick B.)

Hi Rick Brandt,

What I meant is you could try...


DoCmd.OpenForm "Adverse Reaction Report"


Forms![Adverse Reaction Report]!txtRCTrackingNumber.TabIndex = 5
Forms![Adverse Reaction Report]!txtSourceNumber.TabIndex = 4
Forms![Adverse Reaction Report]!cboSourceName.TabIndex = 3
Forms![Adverse Reaction Report]!cboSourceType.TabIndex = 2
Forms![Adverse Reaction Report]!txtDate.TabIndex = 1
Forms![Adverse Reaction Report]!trackingnumber.TabIndex = 0


I don't know if that will make any difference, but often the reshuffling
caused by changing an ordinal setting causes problems unless you traverse
them backwards.


I tried this and it did not work - tabbing continues to take its own course
instead of jumping to the next tabindex. I also tried setting the tabindex
in the Form_load event. I tried working on a sample form with a bunch of
textboxes and combos - reshuffle them somewhat and then did the tabindex
thing on the form_load event - tried various tabindex order of controls and
it all works fine.

Can it be possible my form is corrupted ?



  #2  
Old October 22nd, 2004, 01:58 PM
Rick Brandt
external usenet poster
 
Posts: n/a
Default

"ym" wrote in message
...
Hi Rick Brandt,

What I meant is you could try...


DoCmd.OpenForm "Adverse Reaction Report"


Forms![Adverse Reaction Report]!txtRCTrackingNumber.TabIndex = 5
Forms![Adverse Reaction Report]!txtSourceNumber.TabIndex = 4
Forms![Adverse Reaction Report]!cboSourceName.TabIndex = 3
Forms![Adverse Reaction Report]!cboSourceType.TabIndex = 2
Forms![Adverse Reaction Report]!txtDate.TabIndex = 1
Forms![Adverse Reaction Report]!trackingnumber.TabIndex = 0


I don't know if that will make any difference, but often the

reshuffling
caused by changing an ordinal setting causes problems unless you

traverse
them backwards.


I tried this and it did not work - tabbing continues to take its own

course
instead of jumping to the next tabindex. I also tried setting the

tabindex
in the Form_load event. I tried working on a sample form with a bunch of
textboxes and combos - reshuffle them somewhat and then did the tabindex
thing on the form_load event - tried various tabindex order of controls

and
it all works fine.


You tried this in the load event of the form in question? That's what I
did and it worked fine. This might be a setting that cannot be changed
from another module unless the form is opened in design view.


--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


  #3  
Old October 22nd, 2004, 08:06 PM
ym2004
external usenet poster
 
Posts: n/a
Default

Hi Rick,

Sorry, I did not check this site earlier ....

Next thing I will try is to create a new mdb and then import all objects
over and then see what happens...

ym


"Rick Brandt" wrote in message
...
"ym" wrote in message
...
Hi Rick Brandt,

What I meant is you could try...


DoCmd.OpenForm "Adverse Reaction Report"


Forms![Adverse Reaction Report]!txtRCTrackingNumber.TabIndex = 5
Forms![Adverse Reaction Report]!txtSourceNumber.TabIndex = 4
Forms![Adverse Reaction Report]!cboSourceName.TabIndex = 3
Forms![Adverse Reaction Report]!cboSourceType.TabIndex = 2
Forms![Adverse Reaction Report]!txtDate.TabIndex = 1
Forms![Adverse Reaction Report]!trackingnumber.TabIndex = 0


I don't know if that will make any difference, but often the

reshuffling
caused by changing an ordinal setting causes problems unless you

traverse
them backwards.


I tried this and it did not work - tabbing continues to take its own

course
instead of jumping to the next tabindex. I also tried setting the

tabindex
in the Form_load event. I tried working on a sample form with a bunch

of
textboxes and combos - reshuffle them somewhat and then did the tabindex
thing on the form_load event - tried various tabindex order of controls

and
it all works fine.


You tried this in the load event of the form in question? That's what I
did and it worked fine. This might be a setting that cannot be changed
from another module unless the form is opened in design view.


--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
tab order MadDave General Discussion 1 August 24th, 2004 06:51 PM
Wrong sort order of report's details section dsjohn_242 Setting Up & Running Reports 6 July 12th, 2004 10:21 PM
Inhereting the sort order Dan St.John Setting Up & Running Reports 1 July 9th, 2004 03:30 AM
Adding auto-numbered field screws up Table order Carl Database Design 5 May 30th, 2004 03:25 AM
Pointless rant about order of terms in functions Pete McCosh Worksheet Functions 8 March 17th, 2004 04:37 PM


All times are GMT +1. The time now is 04:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.