Results 1 to 4 of 4
  1. #1
    TriFith is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Aug 2013
    Location
    Czech republic, Prague
    Posts
    37

    Opening form with details about specific record

    Hello,
    First of all I would like to appologize if there is same thread already exist. I have no idea what "function" of Access I am currently looking for, I can just describe what I need to solve.
    Here are many awesome programmers, so I am hoping you will help me, because I am teaching myself about Access databases

    So, now back to the problem...
    My issue is simple, I need to create database for management of service issues.


    Now I have stuck on a problem with opening new form by button
    Click image for larger version. 

Name:	question.PNG 
Views:	8 
Size:	36.3 KB 
ID:	22273
    This button is inserted into a line in continuous form. This form is representing something like overview of service issues. When I click on the button in a specific line, I need to open new form, containing all available informations about current ID of issue.
    I have tried to use Split form, but there I have no other option then use datasheet for "picking" the record I need to see in subform.

    I believe there should be some simple way how to use this feature

    Thank you for your advice!
    Best Regard
    TriFith

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    A split form should do exactly what you are describing. Click on record in the 'datasheet' part and record will display in the 'single' part. How is clicking a button and opening another form more advantageous? The split form does not require code. Your button requires code (macro or VBA). Do you have any code behind the button? Something like:

    DoCmd.OpenForm "some form name here", , , "ID=" & Me.ID
    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. #3
    TriFith is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Aug 2013
    Location
    Czech republic, Prague
    Posts
    37
    Quote Originally Posted by June7 View Post
    A split form should do exactly what you are describing. Click on record in the 'datasheet' part and record will display in the 'single' part. How is clicking a button and opening another form more advantageous? The split form does not require code. Your button requires code (macro or VBA). Do you have any code behind the button? Something like:

    DoCmd.OpenForm "some form name here", , , "ID=" & Me.ID
    Hi June7,
    in split form it is possible to modify data in datasheet (directly in the tables). I need to you form to modify data, because there will be some restrictions, counted fields and the most important, there will be logs made on every modification on some entry.
    I am able to program all necessary fucntions, except this one...
    I am going to create one form "read only" with button, what will open new modal form where will be everything else programmed like I need

    For your second question... The button is blank at this time, with no code of macro programmed.

    Thanks in advance
    TriFith

  4. #4
    TriFith is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Aug 2013
    Location
    Czech republic, Prague
    Posts
    37
    Quote Originally Posted by TriFith View Post
    Hi June7,
    in split form it is possible to modify data in datasheet (directly in the tables). I need to you form to modify data, because there will be some restrictions, counted fields and the most important, there will be logs made on every modification on some entry.
    I am able to program all necessary fucntions, except this one...
    I am going to create one form "read only" with button, what will open new modal form where will be everything else programmed like I need

    For your second question... The button is blank at this time, with no code of macro programmed.

    Thanks in advance
    TriFith
    Holly crapp
    I have absolutelly looked over the code at the end of your post...
    I just tried to attach this code (with form name filled in) and it is working exactly like I need

    Thank you very much!!!
    Have a great day

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

Similar Threads

  1. Opening record details in a form from a datasheet
    By Access_Novice123 in forum Forms
    Replies: 12
    Last Post: 02-23-2015, 02:35 PM
  2. Replies: 5
    Last Post: 01-24-2015, 12:59 AM
  3. Replies: 2
    Last Post: 07-08-2014, 11:15 AM
  4. Opening Form to a Specific Record
    By PPat in forum Forms
    Replies: 9
    Last Post: 04-24-2013, 08:47 PM
  5. Help with opening form to specific record
    By manic in forum Programming
    Replies: 7
    Last Post: 09-18-2012, 08:44 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