Yes, I want to delete an entire column, but only if all the values are null. I want to create a command button to execute this action so that future users only have to do a click. I thought to do this in VB, something like (don't work):
-------------------------------------------------------
While N_Reg <> 0
If Not IsNull(rst!CAF) And Not IsEmpty(rst!CAF) Then
conta = 1
End If
N_Reg = N_Reg - 1
rst.MoveNext
Wend
If conta = 0 Then
Fields.Delete CAF
End If
--------------------------------------------------------
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.