When we define a record set in VBA & read the data from database, recordset converts its datatype to Table's column data type.
Dim rs as adobb.RecordSet
Set rs = CmdSqlData.Execute() ' After this rs fields will be stored based on table's datatype
Is there any way to set the recordset itself to String and Perform,
Set rs = CmdSqlData.Execute()
For Eg: if there is a timestamp value(which has integer value) in Database table definition, Recordsset sets its field datatype to timestamp.
The problem is , In database,
Time value is 12345 (Not date & time) but when record set reads it, it comes as For Eg: 23-06-2012 10:15:23
I wanted the value as 12345