Use code to set value in record different from combo

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ringer
    New Member
    • May 2007
    • 32

    #1

    Use code to set value in record different from combo

    I use a combo box to select a value from a list but I don't want what is selected to be written to the record. I need each selection of the combo box to correspond to another value that should be written to the record. For example:
    Combo options from value list are Day(s), Week(s), Month(s), Year(s)
    When Day(s) is selected in the combo box, I want "d" (w/o quotes) written to the record. When Week(s) is selected in the combo box, I want "w" (w/o quotes) to be written to the record. And so on.
    Thanks.
  • ringer
    New Member
    • May 2007
    • 32

    #2
    Nevermind. Figured it out.

    Row Source Type : Value List
    Row Source : Day(s);d;Week(s );w;Month(s);m; Year(s);yyyy
    Column Count : 2
    Column Widths : 1";0"
    Bound Column : 2

    The 0" width for the second column hides that column.

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32669

      #3
      Nice Ringer :)
      Thanks for posting your answer and good luck with your project.

      Comment

      Working...