Results 1 to 5 of 5
  1. #1
    drnurulsyakirin is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    4

    How to open another form with same user ID

    Hi All,

    I wanted to open another form with same user ID when double clicking the main form. I entered:



    DoCmd.OpenForm "FORM_NAME", , , "[ID] = " & Me![ID]

    However when I double click, it opens to a blank form instead.

    Both the ID of main form and supp form are in text form (is that the reason?)

    Kindly help. Really appreciate it.

    Thanks!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    The syntax for text is different:

    http://www.baldyweb.com/wherecondition.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    drnurulsyakirin is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    4

    Thanks a lot.. problem solved

    Many thanks!


    Quote Originally Posted by pbaldy View Post
    The syntax for text is different:

    http://www.baldyweb.com/wherecondition.htm

  4. #4
    drnurulsyakirin is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    4
    Thanks a million.. problem solved!

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Happy to help! Welcome to the site by the way.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Multi-User Access Open Database problem
    By RayMilhon in forum Access
    Replies: 1
    Last Post: 09-25-2012, 04:23 PM
  2. Frmlogon to open table for that user only
    By b_best in forum Access
    Replies: 13
    Last Post: 01-30-2012, 03:17 PM
  3. Replies: 3
    Last Post: 01-05-2012, 09:57 AM
  4. Unable to open db if not the first user
    By shabbott in forum Security
    Replies: 3
    Last Post: 02-25-2011, 08:24 PM
  5. Multiple end user have DB open
    By Desstro in forum Programming
    Replies: 5
    Last Post: 11-27-2010, 10:13 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