General information
Category:
Coding, syntax & commands
I think changing the visible setting is best but if you really want to remove them then you can loop through each object in the forms controlcount something like this:
FOR i = 1 TO Thisform.ControlCount
IF Thisform.Controls[i].BaseClass = "Label"
Thisform.RemoveObject(Thisform.Controls[i].name)
ENDIF
NEXT
>How do does one go about deleting fields on a form programmatically?
>
>Thx in advance
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only