A
Afrosheen via AccessMonster.com
I have two tables I'm working with. One is called tblMain where the field I'm
working with is called supervisor. Table two is called tblSupervisor where
there is a field also called Supervisor.
Since we have supervisor changes I wanted to create an Old Supervisor/New
Supervisor conversion form.
What I'd like it to do is to be able to select the Old Supervisor from the
tblMain [though a drop down box. Combo4] create a query where it will just
show all the records that Supervisor has and then select the New Supervisor
from the tblSupervisor and replace the Old Supervisor. I did create a query
called qryOldNew where the control is from the tblMain. When I wrote the sql
part in the criteria it worked.
This is what I have so far.
Dim strSQL As String
strSQL = "SELECT supervisor" & _
" FROM [qryOldSup]" & _
" WHERE [supervisor]="" & Combo4&"""
Me.FilterOn = True
That's as far as I've been able to get. When I look at the query it doesn't
appear to be working.
Your help would be greatly appreciated. Thanks for reading my post.
working with is called supervisor. Table two is called tblSupervisor where
there is a field also called Supervisor.
Since we have supervisor changes I wanted to create an Old Supervisor/New
Supervisor conversion form.
What I'd like it to do is to be able to select the Old Supervisor from the
tblMain [though a drop down box. Combo4] create a query where it will just
show all the records that Supervisor has and then select the New Supervisor
from the tblSupervisor and replace the Old Supervisor. I did create a query
called qryOldNew where the control is from the tblMain. When I wrote the sql
part in the criteria it worked.
This is what I have so far.
Dim strSQL As String
strSQL = "SELECT supervisor" & _
" FROM [qryOldSup]" & _
" WHERE [supervisor]="" & Combo4&"""
Me.FilterOn = True
That's as far as I've been able to get. When I look at the query it doesn't
appear to be working.
Your help would be greatly appreciated. Thanks for reading my post.