Recent content by shwilsonjr

  1. S

    Securing form when complete giving permission to open

    Would like to secure the completed form, its a activity form that I would like to lock when completed and give the ability to open it to a list of supervisors
  2. S

    Securing form when complete giving permission to open

    I would like to be able to lock the form when completed but allow certain people access to form, is this possible using a macro? If so some guidance would be appreciated.
  3. S

    Asks for ID number and parameter

    Thanks for the replies, I found the issue was in the table design for a couple of the controls.
  4. S

    Asks for ID number and parameter

    I have a database that has 2 queries that run as soon as the form is opened and I would like to stop them from running. I removed them from the record source and it caused the form to not open properly, it filled all the inputs with #name?, how do I stop this from happening?
  5. S

    Locking a form with users and passwords to unlock

    I am using a form for a daily report and would like to have a cmd button to lock the form when the report is complete and be able to unlock the form using a username and password. This is a multi-user form on a network, I would like to allow the managers, director and VP to be able to unlock the...
  6. S

    Access 2010 VBA Programming

    I am going through this book and when I was following along with the sample file for chapter one I received a compile error. I am running MS Office Professional 64 bit w/Windows 7 OS. Is there a issue with the sample databases?
  7. S

    VBA Code to select current form

    This is current code that I have tried. I tried the with the Me., but it didn't work either. I got the variable not defined error with the "NoEdit" highlighted Option Compare Database Option Explicit '------------------------------------------------------------ ' EditReview '...
  8. S

    VBA Code to select current form

    Form_frmDailyReports.CurrentRecord = NoEdit "NoEdit" is highlighted in blue, When I click okay the following is highlighted yellow: Sub macReportComplete()
  9. S

    VBA Code to select current form

    This the code I used for the cmdReortClosed command button and received a compile error “variable not defined” Option Compare Database Option Explicit Sub macReportComplete() If Form_frmDailyReports.cmdReportComplete = True Then Form_frmDailyReports.CurrentRecord = NoEdit End If...
  10. S

    VBA Code to select current form

    Should I use the VBA editor to enter this code for the cmdReportComplete button?
  11. S

    VBA Code to select current form

    I have a from named frmOpeningForm which has three command buttons as follows: cmdNew (opens new form) cmdEditReview (allows users to edit and review the Daily Report that they are completing for their shift. Once completed they will click the cmdReportComlete button at which time I would like...
  12. S

    VBA Code to select current form

    Once the Report form is completed the user will click the cmdReportComplete command button to make the form read only. Once that occurs I would like to lock or disable the cmdReportComplete button.
  13. S

    VBA Code to select current form

    Can I use this in a If...Then sequence to lock the control after it has been clicked? If so can you show the syntax?
  14. S

    VBA Code to select current form

    I have a command button on my main form that I want to use to set the property of the current form to read only. Not sure of the proper syntax to perform this feature.
  15. S

    Code for Command Buttons

    Thanks Simon, I will attempt to use your example and get back to you. If I decided to use a command button would the code be useful?
Top Bottom