I have 2 tables Action Type and Reason. I took those 2 and created 1 Query1 a.k.a Action Type vs Reason. Then created a Query so that the dropdowns will be in asending orde. I used fontstuff.com/access/acctut10 for help on making a Cascading Lists for Access Forms but used a query in place of a table. However all I get is numbers. What can I do to fix this? My form was created useing a table called Action Log. in it it has the following fields
field1= SSN (this is used to make a relatioship w/ another From/based on a another table (MainDB)).
field2= Action Type (based on the Query 1 as a lookup field)
field3= Date
field4= Reason (based on the Query 1 as a lookup field)
field5= Notes
What I uesed:
'Placed in the After Update for Action Type
Expand|Select|Wrap|Line Numbers
- Private Sub [cboAction Type]_AfterUpdate()
- On Error Resume Next
- cboReason.RowSource = "Select [Action Type vs Reason].Reason " & _
- "FROM [Action Type vs Reason] " & _
- "WHERE [Action Type vs Reason].[Action Type] = '" & [cboAction Type].Value & "' " & _
- "ORDER BY [Action Type vs Reason].Reason;"
- End Sub