Results 1 to 4 of 4
  1. #1
    ggs is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    May 2011
    Location
    New Zealand
    Posts
    36

    Do Not Show This Screen Again

    Hi there

    I have a check box on a form for User Notes to "Not Show Again"
    Starts as unticked and the user has a close button to close and open the next form, but when they tire of seeing this form the box can be checked
    but it aint working
    check box is [hideform] I have a simple table to hold the value

    Option Compare Database
    Option Explicit

    Private Sub Form_Load()
    If Not Me.hideform = True Then
    If Me.hideform = False Then
    DoCmd.Close acForm, Me.frmLogonNotes
    End If
    End If
    End Sub

    Private Sub Form_Unload(Cancel As Integer)
    DoCmd.OpenForm "frmLogon"
    End Sub


    help please

  2. #2
    pdebaets is offline Competent Performer
    Windows Vista Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Los Angeles
    Posts
    235
    Try this:

    Code:
    Private Sub Form_Load()
    If Me.hideform Then
        DoCmd.Close acForm, Me.frmLogonNotes
    End If
    End Sub

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    checkboxes are stored as 0 for false -1 for positive so you might try:

    Code:
    If me.hideform = 0 then
         DoCmd.Close acForm, Me.frmLogonNotes
    else
         'Do whatever
    End If

  4. #4
    ggs is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    May 2011
    Location
    New Zealand
    Posts
    36
    mmm these pop up with an error
    Method or Data Member not found and the Me.frmLogonNotes highlighted.
    Ive triple checked form name spelling
    but DoCmd.Close acForm, "frmLogonNotes"
    fixed it
    Thankyou for your help

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

Similar Threads

  1. Log-in Screen
    By imintrouble in forum Forms
    Replies: 8
    Last Post: 10-11-2011, 04:24 AM
  2. bar on form screen
    By everette in forum Access
    Replies: 2
    Last Post: 10-08-2011, 12:10 PM
  3. Replies: 11
    Last Post: 06-05-2011, 09:51 PM
  4. Show data from table on screen.
    By Sharkun in forum Forms
    Replies: 1
    Last Post: 12-27-2010, 12:36 PM
  5. Splash Screen
    By venu in forum Access
    Replies: 3
    Last Post: 04-02-2010, 09: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