In my current form (frmRequests) I have a button as an option for the user to View/Print the current record. Following is my code, however it opens the report with no data.
It worked before, but I don't what Access ghost broke it.Code:Private Sub bVwRq_Click() bSave = True If Me.Dirty Then Me.Dirty = False End If DoCmd.SetWarnings False DoCmd.OpenReport "rptViewEst", acViewReport, "", "[txtProjectNumber]=[Forms]![frmRequests]![txtProjectNumber]", acNormal DoCmd.SetWarnings True End Sub![]()