Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lopexo

    Seting focus to Tab gives out run-time error

    Hi, I am using the following statement to cycle between tabs in an access form frm.Controls(TabControlName).Pages(TabPageName).PageIndex = 0 frm.Controls(TabControlName).Pages(TabPageName).SetFocus It all works fine when the form is opened and focus is set to the 1st tab and also...
  2. lopexo

    "Form cannot be found" when trying to call subform on a tabbed form

    mmmm....i tried it on the main form's form load sub. However, I've made some changes to my code using VBslammer suggestion and your suggestion of passing "me.parent.form.name " on the sub form, and that worked perfectly. thank you, my problem has been resolved. lopexo
  3. lopexo

    "Form cannot be found" when trying to call subform on a tabbed form

    Thanks RoyVidar and VBSlammer, both suggestions helped a lot, but while testing the example on FAQ702-5010, I get a type missmatch error when calling the function recursively from the subform case. any ideas...I just copied and pasted the example for testing. thanks call...
  4. lopexo

    "Form cannot be found" when trying to call subform on a tabbed form

    thanks. I am looping through all the controls in the form. the code you provided does indeed work to check whether the form is a subform or not( actually I have not gotten to the point where it actually tests for a subform) since my code does not even get there when I call the function from the...
  5. lopexo

    "Form cannot be found" when trying to call subform on a tabbed form

    I have a module that has a function to change the properties of all controls in a form, (i.e. font, text, color etc.) it is called when a form is opened and it works perfectly. However, I've tried to use the same code on a form that has tabs and subforms in the tabs. The control changes are...

Part and Inventory Search

Back
Top