Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    billgyrotech is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    45
    I tried that but it still reverts back to the first record.

  2. #17
    billgyrotech is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    45
    I have removed the Me.Requery and the lines below. This seemed to work great! I thank you so much for your help. I have another question: How can I lock the current record so when the work order is closed, it will be read only and not allow any data to be changed. Could this be a toggle button lock unlock that is password protected to prevent users from altering the data when it is closed?

    Thanks,
    billgyrotech

  3. #18
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    In the form you can put in its ON CURRENT event (assuming you have a field that stores the date closed - I'll call it DateClosed for illustration purposes):
    Code:
    Private Sub Form_Current()
    Dim blnAllow As Boolean
     
    blnAllow = IsNull(Me.DateClosed)
     
    Me.AllowEdits = blnAllow
    Me.AllowDeletions = blnAllow
    End Sub

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. No current record.
    By harmankardon in forum Programming
    Replies: 5
    Last Post: 08-11-2011, 05:48 AM
  2. Report from current record
    By billgyrotech in forum Reports
    Replies: 18
    Last Post: 07-26-2011, 03:39 PM
  3. Current record number
    By turvoll in forum Programming
    Replies: 1
    Last Post: 11-04-2010, 10:09 AM
  4. copy current record to new record
    By er_manojbisht in forum Forms
    Replies: 1
    Last Post: 02-27-2010, 05:31 PM
  5. Mailmerge Current Record...
    By oakleyp2 in forum Programming
    Replies: 0
    Last Post: 02-22-2006, 08:08 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