|
-
Aug 6th, 2004, 06:58 AM
#1
Thread Starter
Lively Member
datatype of table field
hi friends
I what to now the type name of a field of a table
Eg rs.fields("name").type
This returns 10 which means it is a string
is their any fuction or some solution so that i can get the typename of the field
I.e "String" instead of 10
rs.fields("name").type returns interger(1,10,8) i want the typename such as "boolean","string","date"
with Regards
sameer Mulgaonkar

-
Aug 6th, 2004, 04:53 PM
#2
Use the TypeName function on the Value property. I am not sure if this will work in all cases. For example, the database field might be defined as a String but contain Date values. TypeName may return Date and not the expected String. Just test to make sure.
TypeName(rs.fields("name").Value)
-
Aug 7th, 2004, 03:59 AM
#3
Thread Starter
Lively Member
sorry to say but ur option does not work !!
with Regards
sameer Mulgaonkar

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|