Howdy
Just wondering if it's possible to open a form to a selected record from a report?
I have a stocktake/report system and what I would like to do is double click the [stocknumer] on the report and have it open on [frmStocktake].
i've been hoping that (reports!report!field) would work like (forms!form!field), but that doesn't seem to be the case
Any ideas?
Just wondering if it's possible to open a form to a selected record from a report?
I have a stocktake/report system and what I would like to do is double click the [stocknumer] on the report and have it open on [frmStocktake].
i've been hoping that (reports!report!field) would work like (forms!form!field), but that doesn't seem to be the case
Code:
Private Sub StockNumber_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmstocktake", acNormal, , "ProductCode = Reports!Stocktake!StockNumber", acFormAdd, acWindowNormal
End Sub