Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Aug 2002
    Location
    Michigan, USA
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Static Textbox and New Records

    Hello eveyone!

    I have a static textbox with the text "Agenda Item X"
    in the form header. When the user enters a new record, how can I have the text "Agenda Item X" in the textbox default into a field value. That is, everytime the user enters a
    new record, "Agenda Item X" is automatically stored in the field fAgenda in tblAgendaItems.

    I was thinking about reading in the contents from a text file, but I don't think that might be the best approach.

    Thanks for any insight!
    Steve

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Static Textbox and New Records

    In the control where you want to insert the value from your unbound textbox, set the DefaultValue property to something like "=[txtStatic]" (without the quotes). In this case, txtStatic is the name of your textbox containing the value you want to insert.
    Charlotte

Posting Permissions

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