Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2002
    Posts
    4

    Unanswered: how to change subForm SourceObject

    Hi all,

    I need some help with this, i have a subform that i need to toggle between two forms(different tables) this is what i though i would need to change the source object to the new one

    Forms!customers!products!SourceObject = <object>

    its probbably really obvious, but i'm tired and its not jumping out at me

    Thanks all
    Redsmurf

  2. #2
    Join Date
    Oct 2001
    Location
    Chicago
    Posts
    440
    Me!products.SourceObject = "FormName"

    or

    Forms!customers!products.SourceObject = "FormName"

  3. #3
    Join Date
    Oct 2002
    Posts
    4
    Originally posted by Rockey
    Me!products.SourceObject = "FormName"

    or

    Forms!customers!products.SourceObject = "FormName"
    Thanx mate, it worked, it was soooo close to what i had! :P i had done combinations that had all the parts but obviously not in that order! lol

    RedSmurf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •