Home All Groups Group Topic Archive Search About

Delete and add fields using the code window

Author
8 Jul 2005 9:44 AM
Opyuse
I'm using vb 6.0 and I would like to be able to delete or hide a field when
the user clicks a button to do this.

I've tried deleteing a label field lblCate as a test but it doesn't work

I used the method lblCate.Delete() which the help guide showed but no good
it still remains.

It would also be a help if you can tell me how to use the code window to add
a new field to replace the one removed.  Which is what I want to do any way.

Thanks

Author
8 Jul 2005 2:22 PM
Ken Halter
"Opyuse" <Opy***@discussions.microsoft.com> wrote in message
news:6886306A-7B49-40BF-9C86-64A0868E9372@microsoft.com...
> I'm using vb 6.0 and I would like to be able to delete or hide a field
> when
> the user clicks a button to do this.
>
> I've tried deleteing a label field lblCate as a test but it doesn't work

A Database field? Label field? What's that? More info (and some code) please

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..