Results 1 to 3 of 3

Thread: ACCESS - passing variable from one form to another [solved]

  1. #1

    Thread Starter
    Addicted Member sweet_dreams's Avatar
    Join Date
    Apr 2005
    Location
    Poland, Lodz
    Posts
    189

    Resolved ACCESS - passing variable from one form to another [solved]

    Hi all,

    How can I pass variable from one form to another?
    I have two forms: formA and formB. On formA there are textbox and commandbutton. On formB there is textbox. How can I pass value from textbox on formA to textbox on formB by clicking on commandbutton?

    Please help.

    Regards,
    sweet_dreams
    Last edited by sweet_dreams; Jan 5th, 2006 at 12:23 PM.

  2. #2
    Hyperactive Member
    Join Date
    Sep 2004
    Posts
    262

    Re: ACCESS - passing variable from one form to another

    As below I think, assuming your textboxes are both called textbox1.

    me.textbox1 = Forms!formA!textbox1

  3. #3

    Thread Starter
    Addicted Member sweet_dreams's Avatar
    Join Date
    Apr 2005
    Location
    Poland, Lodz
    Posts
    189

    Re: ACCESS - passing variable from one form to another

    Thx Oliver1 thats what I've been looking for.

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