Results 1 to 2 of 2
  1. #1
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496

    Recordset loop not updating and breaks

    I have a loop where if rs!ConfirmationSent4th <> true then send an email

    and the end of the email with I have added

    Code:
                                                
    If rs!ConfirmationSent4th = 0 Then
     rs!ConfirmationSent4th.Edit
     rs!ConfirmationSent4th = -1
    rs!ConfirmationSent4th.Update
     End If

    I was hoping to not only do the task set out but change each me.confirmationsent4th to true using the rs

    It breaks and doesn't move to the next task or update anything.

    Any advice?

    Sorry guys

    used

    If rs!ConfirmationSent4th = 0 Then


    rs.Edit
    rs!ConfirmationSent4th.Value = -1
    rs.Update

    End If

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    This shows already solved. Is it?

    Ooops, see the solution now.
    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.

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

Similar Threads

  1. Loop Not Progressing Through Recordset
    By nmlinac in forum Programming
    Replies: 1
    Last Post: 02-15-2013, 10:54 AM
  2. Recordset loop & change values (kinda...)
    By opopanax666 in forum Programming
    Replies: 4
    Last Post: 05-03-2012, 04:26 AM
  3. Double loop recordset
    By silverspr in forum Programming
    Replies: 7
    Last Post: 03-07-2012, 01:43 PM
  4. Loop through recordset
    By eliedebs in forum Programming
    Replies: 1
    Last Post: 01-11-2012, 12:26 AM
  5. Bulk Email / Loop through recordset
    By smikkelsen in forum Forms
    Replies: 4
    Last Post: 07-12-2010, 06:59 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