J
JohnW
I am using a 2nd party drag and drop module.
Whilst displaying the form where I drag and drop from source table to target
table, I wish to delete the contents of the target table.
So I use the following code on a button:
Private Sub Command36_Click()
DoCmd.RunSQL "DELETE * FROM orders;"
End Sub
After I press the button, I get the warning about deleting the records, I
press YES.
The contents of the target table are still present until I click within the
target table area. And now, the contents are now empty.
I am guessing a "refresh" is required, is there a further command that will
save the user from mouse-clicking on an area of a form to refresh the display?
Thanks
Whilst displaying the form where I drag and drop from source table to target
table, I wish to delete the contents of the target table.
So I use the following code on a button:
Private Sub Command36_Click()
DoCmd.RunSQL "DELETE * FROM orders;"
End Sub
After I press the button, I get the warning about deleting the records, I
press YES.
The contents of the target table are still present until I click within the
target table area. And now, the contents are now empty.
I am guessing a "refresh" is required, is there a further command that will
save the user from mouse-clicking on an area of a form to refresh the display?
Thanks