Double A,
you could save the value chosen in the combo to a new table.
Create a table to hold the value.
In the after update event of the form put code something like:
Dim strSQL as String
Dim db As DAO.Database
strSQL = "Update TableName " _
"Set TableName.TheField = Me.NameOfCombo
If Not IsNull(Me.NameOfCombo) Then
db.Execute strSQL, dbFailOnError
End If
Set db = Nothing
Put code in the form's load event to lookup the value from the table and set
the combo to this value.
Something like (assuming combo's 1st column is number data type)
Dim lngTheValue as Long
lngTheValue = Nz(DLookup("[TheField]", "TableName"), 0)
If lngTheValue >0 Then
Me.NameOfCombo = lngtheValue
Else
End If
Jeanette Cunningham -- Melbourne Victoria Australia
Double A said:
I have set up a 2 column combo box for my form. I use it to choose from a
list of steps so that I can populate my table with only the ones I want.
Is
there a way to have the list open each time to the spot in the list where
I
left off?