Darren DICK
darrend at nimble.com.au
Mon Mar 20 15:14:27 CST 2006
Hi Tom This is how I find a record using a combo on a form In the afterrupdate of the combo Dim intEditedRecord as integer intEditedRecord= Me.SomeComboOnYourForm Me.RecordsetClone.FindFirst "YourPK_ID=" & intEditedRecord Me.Bookmark = Me.RecordsetClone.Bookmark Or even skip the declarations... In the after update of the combo Me.RecordsetClone.FindFirst "YourPK_ID=" & Me.SomeComboOnYourForm Me.Bookmark = Me.RecordsetClone.Bookmark _______________________________ Hope this helps Darren ------------------------------ T: 0424 696 433 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Tuesday, 21 March 2006 7:32 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo Box Won't Find Record I've done this many times before with no problems. Create a simple combo box using the wizard. Tell it to select a record based on the combo box. Save it. Use the combo box to find a record. However, there is no effect whatsover on the rest of the form...no record is chosen. Anything to look for? I'm using Access XP. TIA, Tom Ewald This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com