Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    projectpupil7 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    37
    Hi June7, i was just wondering if you have managed to do anything more to my file. I am asking due to my coding skills being at beginners level. Or were you only making suggestions for me to do. Apologies if i have misunderstood but just asking in case.

  2. #17
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    I made suggestions for correcting the described issue. Does not involve code. Just fix the form RecordSource as described.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #18
    projectpupil7 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    37
    OK June7, made the changes as you suggested. The bit i am stuck on is this because i don't know how to code it.

    "Nothing in this arrangement will save the ClientID into the new record. Will require more code. This query also has a dynamic parameter that references frmReactiveTracker for filter criteria. I NEVER use dynamic parameter queries".

    A new record is visible in the table but of course is no good if the ClientID is not there also.

    I hope you can help!!.

  4. #19
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    One way is to pass the ClientID with OpenArgs. Example:

    DoCmd.OpenForm "formname", , , , , , Me.ClientID

    Then pull the value from OpenArgs with code in the called form OnCurrent event.

    If IsNull(Me!ClientID) Then Me!Client = Me.OpenArgs

    Programmatically setting value initiates record. Now if you want to allow user to cancel this initiated record, that's another can of worms.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 10-29-2014, 03:25 AM
  2. double click to open
    By spleewars in forum Programming
    Replies: 7
    Last Post: 05-22-2012, 11:52 AM
  3. Replies: 10
    Last Post: 02-20-2012, 11:25 AM
  4. On Double Click go to Subform
    By Theremin_Ohio in forum Access
    Replies: 2
    Last Post: 03-30-2011, 08:03 AM
  5. Click a record to display it for edit
    By mapl in forum Access
    Replies: 0
    Last Post: 11-24-2008, 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