Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jul 2001
    Posts
    280
    Thanks
    0
    Thanked 0 Times in 0 Posts

    delete property in remote db (Access 2000)

    I want to delete the property Date in the Format of the field PaymentID of a table orders but
    i get the mistake : User defined properties do not support a null value"

    Set tdf = db.TableDefs("orders")
    Set fld = tdf.Fields("PaymentID")
    fld.Properties("Format") = ""



    In the format space i have by mistake Date and i want to delete it.I can delete it maunally,
    but by code i get the above mistake.
    How can i remove the Date format in my property ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: delete property in remote db (Access 2000)

    fld.Properties.Delete "Format"

Posting Permissions

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