B
BillD
I have a database with 120,000 records. I use a View/edit form to look up
records. I have an unbound combo box at the top of the Detail section of the
Form that I use to lookup a name. When I select the name in the Combo the
form fills with the persons info.The combo lists everyone's name which is
great if I have say under 62,000 names but when the database has over 65,000
names then the box only lists up to say 62,000 records. In this case I can't
scroll down past the 62,000 record number to select a record. I would like to
know if there is an easy way that I can limit the records that the Combo box
shows. ie.-Say I wanted to show names that start with S.
Is there an easy way to do this?
In the row source I have:
SELECT DISTINCTROW VoterInformationTable.ID, VoterInformationTable.[Last
Name], VoterInformationTable.[First Name], VoterInformationTable.[Middle
Name], VoterInformationTable.City, VoterInformationTable.[St#],
VoterInformationTable.Street, VoterInformationTable.[Street Type],
VoterInformationTable.[Apt#], VoterInformationTable.Poll,
VoterInformationTable.[Enum#], VoterInformationTable.[Home Phone] FROM
In the event After update I have:
Sub Combo48_AfterUpdate()
' Find the record that matches the control.'
If IsNull(Me![Combo48]) Then End
Me.RecordsetClone.FindFirst "[ID] = " & Me![Combo48]
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
Any help greatly appreciated.
Bill D.
records. I have an unbound combo box at the top of the Detail section of the
Form that I use to lookup a name. When I select the name in the Combo the
form fills with the persons info.The combo lists everyone's name which is
great if I have say under 62,000 names but when the database has over 65,000
names then the box only lists up to say 62,000 records. In this case I can't
scroll down past the 62,000 record number to select a record. I would like to
know if there is an easy way that I can limit the records that the Combo box
shows. ie.-Say I wanted to show names that start with S.
Is there an easy way to do this?
In the row source I have:
SELECT DISTINCTROW VoterInformationTable.ID, VoterInformationTable.[Last
Name], VoterInformationTable.[First Name], VoterInformationTable.[Middle
Name], VoterInformationTable.City, VoterInformationTable.[St#],
VoterInformationTable.Street, VoterInformationTable.[Street Type],
VoterInformationTable.[Apt#], VoterInformationTable.Poll,
VoterInformationTable.[Enum#], VoterInformationTable.[Home Phone] FROM
In the event After update I have:
Sub Combo48_AfterUpdate()
' Find the record that matches the control.'
If IsNull(Me![Combo48]) Then End
Me.RecordsetClone.FindFirst "[ID] = " & Me![Combo48]
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
Any help greatly appreciated.
Bill D.