Results 1 to 4 of 4
  1. #1
    abusaif is offline Advanced Beginner
    Windows 7 32bit Access 2010 64bit
    Join Date
    Nov 2012
    Location
    Earth
    Posts
    39

    Passing Value of Selected record to Other Form

    Good Morning Friends,



    I have a form "frmdataEntry" & "frmItemMaster (Searchable Split Form)". What I want to do is, on frmDataEntry, txtItem.Setfocus trigger to load frmItemMaster there I search for the item and once the item is found, pass its value to frmDataEntry.txtSearch. and also if the value is not found I could enter a new record to frmItemMaster and pass the value to frmDataEntry.

    I hope you guys understood what I mean. Kindly guide me to the links if those are already discussed and solved.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    you have it backwards.
    when frmItemMaster is open, pick a record, THEN open frmDataEntry.

    select the items on the form record, then click a button to open to that record:
    docmd.openform "frmDataEntry",,,"[id]=" & me.txtID

    it you want a new record, click NEW record button to:
    docmd.openform "frmDataEntry",,,,acFormAdd

  3. #3
    abusaif is offline Advanced Beginner
    Windows 7 32bit Access 2010 64bit
    Join Date
    Nov 2012
    Location
    Earth
    Posts
    39
    Thanks Bro for your kind response. The problem which I was facing is solved with Split Form and the code I used is "[Forms]![frmDailyReceived].[Item].Value = Me.ID". Now only thing bothering me is the form size with popup. It opens expanded and covering the whole screen and sometimes it opens even wider.

    Any Suggestion ??

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    When the pop-up form is open, you should be able to resize it by grabbing the lower right hand corner of the form. Afterwards, use the save icon on the Access Ribbon. There is a width property on the form that can be adjusted during Design View but I do not believe there is a height property. If you are not using the Overlapping Windows + No Tabs option in your database, you will need to make and save the adjustment during Form View.

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

Similar Threads

  1. Replies: 3
    Last Post: 02-06-2015, 01:18 PM
  2. Replies: 1
    Last Post: 12-05-2014, 01:06 PM
  3. Replies: 3
    Last Post: 01-24-2013, 02:38 PM
  4. Replies: 3
    Last Post: 03-03-2012, 03:54 PM
  5. Replies: 9
    Last Post: 10-12-2011, 02:34 PM

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