Results 1 to 2 of 2

Thread: ControlSource

  1. #1
    Join Date
    Nov 2002
    Location
    Sweden
    Posts
    14

    Unanswered: ControlSource

    Is it possible to change the controlsource of text box by using vb?
    I want the data to be stored in different fields of a table depending on the choice the user made in a nearby combobox. Well, it sounds like an easy thing to do but my brain just can´t figure it out.
    Sebastian

  2. #2
    Join Date
    Oct 2002
    Location
    Leicester - UK
    Posts
    820

    Re: ControlSource

    Originally posted by SebastianE
    Is it possible to change the controlsource of text box by using vb?
    I want the data to be stored in different fields of a table depending on the choice the user made in a nearby combobox. Well, it sounds like an easy thing to do but my brain just can´t figure it out.
    yes,

    txtbox.ControlSource = "=Date() + 7"
    Definition of a Beginner, Someone who doesn't know the rules.

    Definition of an Expert, Someone who knows when to ignore the rules.

Posting Permissions

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