Allow Access to set a field to "allow empty string"

xiaoxiao2021-03-05  30

Set con = Server.createObject ("AdoDb.Connection")

Con -.open "provider = microsoft.jet.Oledb.4.0; data source =" & server.mappath ("db1.mdb")

Set adox = server.createObject ("adox.catalog")

Set adox.activeConnection = con

Set tbl = adox.tables ("aa")

Set col = tbl.columns ("gg")

Col.properties ("Jet OLEDB: Allow Zero Length") = true 'allows empty strings

Set col = Nothing

Set TBL = Nothing

Set adox = Nothing

转载请注明原文地址:https://www.9cbs.com/read-32539.html

New Post(0)