Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15243

How to get access field dataformat using ado

$
0
0
I am trying to get the format of an access table Date field to check if it is in date or time format .

when I write

Code:

Msgbox dd.fields("Datex").Dataformat.format

it throws an error >> method or data member not found although it is in the popup list . This does not happen if I set a StdDataFromat object to the field and then try to read it using the previous code .

So , How can I get the data format of an access 2010 field using ADO ?

Viewing all articles
Browse latest Browse all 15243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>