Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub-Form OrderBy

Status
Not open for further replies.

muppet123

Technical User
May 11, 2005
19
GB
Hi
I have a sub-form that captures a brief overview of recent telephone conversations. I have ordered it so that recent is shown first as per:

Private Sub Form_Current()
Me.OrderByOn = True
Me.OrderBy = "MailingID DESC"
End Sub

My problem is now I can no longer add a record as it reports that I cannot go to that record, which sort of makes sense as it already has a record there.
Any suggestions/help would be greatfully received.

TIA
Mup'
 
Instead of using this "on current" technique. Why not base the subform on a query with the sort descending on MailingID.

 
good idea Knicks, hmm now I'm thinking I should really have thought of that one!

Thanks for the help Knicks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top