Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2003
    Posts
    81

    Arrow Unanswered: Set Value In A SubForm

    Can anyone tell me how can I Set a value in a text box in a subform clicking a button from the mainform?

    Thanks for your time

  2. #2
    Join Date
    Feb 2003
    Location
    Auckland, NZ
    Posts
    150
    In the Click Event of the button use the following code:

    Forms("MainForm")("SubForm").Controls("TextBox") = Value

    Just replace the names of the forms and the textbox above
    JJ Kennedy
    Double J IT Solutions
    www.doublejit.co.nz

    VB 6, VB.NET, ASP.NET, MS SQL Server, MySQL, MS Access

  3. #3
    Join Date
    Jul 2003
    Posts
    81

    Thumbs up

    Thanks for your time.

Posting Permissions

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