Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jul 2002
    Location
    Sacramento, CA
    Posts
    193
    Thanks
    3
    Thanked 1 Time in 1 Post

    TextBox Datasheet Caption

    I have a need to refer to the Datasheet Caption of a TextBox in a Msgbox prompt, but have so far been unsuccessful in figuring out the proper syntax to do this. The Msgbox is in the TextBox's BeforeUpdate event.

    Appreciate any assistance.
    Marty

  2. #2
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts
    I have found that this works for the field ItemID.

    MsgBox Me.ItemID.Properties("DatasheetCaption")
    Regards
    John



  3. #3
    2 Star Lounger
    Join Date
    Jul 2002
    Location
    Sacramento, CA
    Posts
    193
    Thanks
    3
    Thanked 1 Time in 1 Post
    John,

    Thanks much. I think I got close a couple of times on the syntax, but never quite got there.

Posting Permissions

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