G
Guest
On my form, I have a "Duplicate Record" Button that automatically creates a
new record with most of the same data as the current record. Only problem is
that it makes this new record the last one. So, what I need is code that
will resort the form after the new duplicate record is created. This is what
I tried and keep getting an error:
sortCriteria = "Grants.[Grantor Number], Grants.[Date Information Entered]"
DoCmd.ApplyFilter , sortCriteria
Thanks for the help! Oh, I guess I should also mention that the new
duplicate record should be the one that is showing on the form after the code
runs. Thanks again!
new record with most of the same data as the current record. Only problem is
that it makes this new record the last one. So, what I need is code that
will resort the form after the new duplicate record is created. This is what
I tried and keep getting an error:
sortCriteria = "Grants.[Grantor Number], Grants.[Date Information Entered]"
DoCmd.ApplyFilter , sortCriteria
Thanks for the help! Oh, I guess I should also mention that the new
duplicate record should be the one that is showing on the form after the code
runs. Thanks again!