|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Error message while trying to use a combo box
When I try to select a record using a combo box I get a error message that says "No current record". Does anyone know what this means?
Thanks learnasugo ![]() |
|
#2
|
||||
|
||||
|
I believe it means there's "No current record"?
Post your code. |
|
#3
|
|||
|
|||
|
But there are records in the table. Here is the code.
Private Sub Combo118_AfterUpdate() ' Find the record that matches the control. Dim rs As Object Set rs = Me.Recordset.Clone rs.FindFirst "[MMSJob] = '" & Me![Combo118] & "'" Me.Bookmark = rs.Bookmark End Sub |
|
#4
|
|||
|
|||
|
Yep, me too, I bet there is no current record when you get the error!
Is it possible that your find doesn't find anything?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#5
|
|||
|
|||
|
I figured it out. In the properties window of the form I had "DataEntry" marked as yes. Apparently it didn't like that. Thanks for your help anyway!!
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Error message while trying to use a combo box |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|