Results 1 to 4 of 4
  1. #1
    maclarkson is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2019
    Posts
    2

    Double Click list box to Open Form to Specific record on a WEB DATABASE

    Hi all, Sorry im a bit of a newb to ACCESS

    I cannot for the life of me figure out what I am doing wrong. I have created a search form that filters a list of objects. SearchObject. The subform is called ObjectSearchSubform I create tried creating a double click event on the id that will open the main "Objects" form to allow me to edit it. I can't get it to open on the record with the same id of the record i just clicked on. I also can't get the from to filter on the name of the ObjectType. Can anyone please help?

    Many thanks

    VisioDB.zip

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    I haven't seen a web database question in a looooong time.

    Name is a reserved word. Should not use reserved words as names for anything.

    I don't see a listbox, only comboboxes.

    Why won't ObjectSearchSubForm open in LayoutView?

    Filter criteria is wrong - backwards and should reference subform. Should be:

    [ID]=[Forms]![SearchObject]![ObjectSearchSubForm]![ID]

    Why bothering to open Object form? The complete record is already viewable on SearchObject form.
    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
    maclarkson is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2019
    Posts
    2
    I decided to go for a subform with a query behind it rather than a list box, because i felt i could control the information that is displayed better. i invisage the displayed data is going to get a lot more complex in future.

    Do people not really use web databases? i would really like to host the thing some where hence my reason for going for a web DB? The object form is going to get a lot more complex hence the reason wanting to open it up. I want to eventually embed the relationships table as a form in the objects form so that I can record relationships between objects. Ill probably have questions on how i do this eventually. The objective is that I am trying to create a database where a can record which applications are connected\integrated with eachother, application with applications, functions with functions, functions with processes, servers with hubs or firewalls etc. Generally anything that can be connected with anything else.

    Your code worked by the way so thankyou for that. i forgot to rename the combo box. so i have done that now.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	17 
Size:	96.5 KB 
ID:	39794
    I then altered the query to include what i thought would filter by the object type, but for some reason i can get it to work


    Click image for larger version. 

Name:	Capture2.PNG 
Views:	17 
Size:	30.5 KB 
ID:	39795

  4. #4
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,651
    I thought they were deprecated.

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

Similar Threads

  1. Open Database Form on Double-Click on record
    By kersplash in forum Programming
    Replies: 4
    Last Post: 06-18-2019, 10:37 PM
  2. Replies: 5
    Last Post: 08-06-2018, 05:31 PM
  3. double click on a list to open record
    By mlrucci in forum Forms
    Replies: 3
    Last Post: 07-29-2018, 07:41 PM
  4. Replies: 6
    Last Post: 02-28-2017, 09:33 AM
  5. Replies: 8
    Last Post: 02-04-2016, 05:10 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