I have an Access DB and one of the columns is set to a Currency type.
I get the records into a variant array via...
If myConnection.State = adStateOpen Then
myRecordset.Open "SELECT * FROM " & sTable, myConnection,
adOpenDynamic, adLockOptimistic, adCmdText
Else
MsgBox "The connection could not be made."
myConnection.Close
Exit Sub
End If
ArrayName = myRecordset.GetRows
--------------------------------------------------------------
If I put a watch on the array it lists the value as 100 (why not 100.00)
for example and of a currency type.
If I then try to dump that values into a cell formatted to be a currency
type it lists 100 (not 100.00) as I'd expect.
The values ARE listed as $100.00 in the DB itself.
Any ideas?

Signature
Sean Dotson
RND Automation & Engineering
www.mcadforums.com
Val Mazur (MVP) - 30 Jun 2005 03:34 GMT
Hi Sean,
How Access shows value is just a formatting presentation, but actual value
is 100. Recordset keeps the values without any formatting. If you need to
see it, then you should apply formatting when you populate values into
control that displays it.

Signature
Val Mazur
Microsoft MVP
http://xport.mvps.org
>I have an Access DB and one of the columns is set to a Currency type.
>
[quoted text clipped - 22 lines]
>
> Any ideas?
Sean Dotson - 30 Jun 2005 14:49 GMT
OK, thanks... I'll have a look..

Signature
Sean Dotson, PE
RND Automation & Engineering
www.mcadforums.com
> Hi Sean,
>
[quoted text clipped - 29 lines]
>>
>> Any ideas?