I have a form with stock report information and a child/subform of a linked table - tblStocktake
the subform is just a standard datasheet view with Master/child linked by ReportID
I have buttons which copy data from a previous report to a new report.
What i'm trying to do is have those buttons only show up when there is No data in tblStocktake (i.e. when I create a new report)
Any ideas on how to do this?
I've a had a go but i'm a bit iffy on the syntax -
the subform is just a standard datasheet view with Master/child linked by ReportID
I have buttons which copy data from a previous report to a new report.
What i'm trying to do is have those buttons only show up when there is No data in tblStocktake (i.e. when I create a new report)
Any ideas on how to do this?
I've a had a go but i'm a bit iffy on the syntax -
Code:
Private Sub FormCurrent()
If me.child8 is null Then
me.btnCopy.visible = true
Else
me.btnCopy.visible = false
End If
End Sub