Results 1 to 4 of 4
  1. #1
    Trisha is offline Novice
    Windows XP Access 2000
    Join Date
    Feb 2014
    Posts
    8

    How to send a form in background

    Dear,

    I developed one macro which will open one existing table in the ms access db to add a new row.
    I created a command button in my form which will call the macro to open the table.

    But the butoon is not working as expected.
    On clicking the form buttom the table view opened by the macro in the background of the form.

    I want the when the table view opened by the macro the form goes to the background of the table view and on closing the table view I can still see the form.

    Please let me know if it is feasible.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Why open table? Really should not work directly with tables or queries. Open forms and reports bound to table/query.

    Try:

    DoCmd.SelectObject acTable, "table name"
    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
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    As June7 said, use a Form to update the Table, and open the Form in Popup Mode, which will make it appear in front of the calling Form.

    Linq ;0)>

  4. #4
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows 7 32bit Access 2007
    Join Date
    Mar 2012
    Posts
    528
    Hello guys
    Trisha ,
    You committed a fatal error ??????????? !!!!!!!!!

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

Similar Threads

  1. Background Image on Tabbed Form
    By Keeper in forum Access
    Replies: 3
    Last Post: 05-01-2012, 07:57 PM
  2. How to put a background on a form
    By Andrias14 in forum Forms
    Replies: 4
    Last Post: 11-22-2011, 01:40 PM
  3. Can a form run in the background?
    By polis in forum Forms
    Replies: 3
    Last Post: 09-11-2011, 06:06 PM
  4. Car Form example and other Background Example
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 08-30-2010, 09:59 PM
  5. background color in a form
    By taggart in forum Forms
    Replies: 1
    Last Post: 05-07-2009, 10:37 AM

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