Results 1 to 3 of 3
  1. #1
    Stefent is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2013
    Location
    Thai
    Posts
    2

    Post Take a Value From other opening form


    Hi expert, I Have 1 Table with Field Name Trading_date. and I Have 2 Form said Form_1 and Form_2. Form_1 Have 1 textbox with format date name Text_1. Form_2 have 1 textbox call Trading_date with date format and 1 save buttonclick
    At The Trading_date Form_2 Control Source I type : =[Forms]![Text_1]![Text_1]

    The matter when I click Button save It cannot save to the table
    Can Any Master here Help Me. I Really New in Access. Thanks alot

  2. #2
    Stefent is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2013
    Location
    Thai
    Posts
    2
    Thanks At all I try to write this on load even
    DoCmd.OpenForm "Frm_1"
    Forms!Form_2!Trading_Date = Forms!Form_1!Text1

    and It work well

  3. #3
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    I am glad it worked for you. You can close the first form with
    DoCmd.Close acForm "frmName"

    Can I ask, "Do you really have forms named Form_1 and Form_2"?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 15
    Last Post: 04-17-2012, 01:42 PM
  2. Replies: 7
    Last Post: 11-16-2011, 01:22 PM
  3. Replies: 2
    Last Post: 07-26-2011, 08:26 AM
  4. Replies: 5
    Last Post: 03-11-2011, 10:29 PM
  5. Replies: 1
    Last Post: 11-09-2010, 03:02 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums