Hi Guys
i am getting a run-time errror '13' when this code run on a forms on open event
Dim PreplannedCapacity As string
PreplannedCapacity = Nz(DSum("PrePlannedCapacity", "UNEXAreaCapacityPrePlan", "Area = '" & Forms!UNEXCapacitys!Process & "'" And "WeekNumber = #" & Forms!UNEXCapacitys!DATE & "#"), 0)
Me.Text12 = PreplannedCapacity
End Sub
any ideas how i can sort this,
many thanks
Steve