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