M
Martin
Hello, I have a form called "frmTraining" that pulls data
from a query called "qryLosAngeles". Essentially the form
shows all users requesting training in the Los Angeles
area. Here's my dilemma; my form has a query as a record
source, The query only pulls data for users requesting
training at our Los Angeles site. I would like to create a
combo box that pulls data from all our other training site
locations (Fullerton, Anaheim, Pasadena. I have the query,
but I'm having problems on the AfterUpdate event, the form
will not populate with users from other locations other
than Los Angeles. I'm sure it has something to do with the
forms record source which pulls data specifically for our
Los Angeles site. Any suggestions on how I can accomplish
this I will greatly appreciate; Here's my code on the
AfterUpdate event of the combo box. It only works for Los
Angeles site request only.
Private Sub Combo214_AfterUpdate()
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[AUTONUMBER] = " & Str(Me![Combo214])
Me.Bookmark = rs.Bookmark
End Sub
from a query called "qryLosAngeles". Essentially the form
shows all users requesting training in the Los Angeles
area. Here's my dilemma; my form has a query as a record
source, The query only pulls data for users requesting
training at our Los Angeles site. I would like to create a
combo box that pulls data from all our other training site
locations (Fullerton, Anaheim, Pasadena. I have the query,
but I'm having problems on the AfterUpdate event, the form
will not populate with users from other locations other
than Los Angeles. I'm sure it has something to do with the
forms record source which pulls data specifically for our
Los Angeles site. Any suggestions on how I can accomplish
this I will greatly appreciate; Here's my code on the
AfterUpdate event of the combo box. It only works for Los
Angeles site request only.
Private Sub Combo214_AfterUpdate()
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[AUTONUMBER] = " & Str(Me![Combo214])
Me.Bookmark = rs.Bookmark
End Sub