Results 1 to 4 of 4

Thread: Change field Allow Zero Length[RESOLVED]

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2004
    Posts
    1,414

    Resolved Change field Allow Zero Length[RESOLVED]

    Hi to all:

    I would like to change the field allowzerolenght,set to false, to true in my DB access.

    Any suggestions to do this?

    Thanks
    Last edited by sacramento; Sep 2nd, 2006 at 03:51 PM.

  2. #2
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: Change field Allow Zero Length

    In access, go to your table design and change allowzerolenght to True.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2004
    Posts
    1,414

    Re: Change field Allow Zero Length

    no no...through Code!!

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2004
    Posts
    1,414

    Re: Change field Allow Zero Length

    this is the way:

    VB Code:
    1. Set top = db.TableDefs(anos)
    2. Set fld = top.Fields("citesPai")
    3. fld.Properties("AllowZeroLength") = True


    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width