Skip Bisconer
Who Me?
- Local time
- Today, 13:12
- Joined
- Jan 22, 2008
- Messages
- 285
I have two forms both using the field Part as an ID. The analysis form has purchasing criteria and the other has all the background detail that the analysis form uses to populate it's fields. I want to be able to double click the Part in the analysis form and open a tabbed form with the detail. I cannot seem to get this code to work so I have obviously left something out because I get Access cannot find the field "|" refered to in your expression. Will someone please take a look and set me straight?
Code:
Private Sub Part_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmL1ItemDetail", acNormal, "[Part] =" & [frmL1InventoryAnalysis]![Part]
'I have also tried using
Private Sub Part_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmL1ItemDetail", acNormal, [Part] =[frmL1InventoryAnalysis]![Part]
End Sub
End Sub