Results 1 to 4 of 4

Thread: txtBox question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Posts
    80

    txtBox question

    I have a database open and i set each of the text box up with a field.

    But there is one that i want to set up with two fields i.e.

    I want to add Last Name and First Name from the database into the text box Name.

    I don't know if this makes any sense.

  2. #2
    ne0z
    Guest
    You can do this in a Sub:

    TXTBox.Text = Rst!FirstName & Rst!LastName

    Hope this helps

  3. #3
    vbCowboy
    Guest
    You can do this in a Sub:

    TXTBox.Text = Rst!FirstName & " " & Rst!LastName

    Hope this helps
    Don't forget the space between them

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Posts
    80
    I get an error it says object required.

Posting Permissions

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



Click Here to Expand Forum to Full Width