Hi,
I found this code to create disconected recordsets. But how can i use a decimal value. Because he creates always a Long type of field.
Set oRS = New ADODB.Recordset
oRS.CursorLocation = adUseClient
oRS.CursorType = adStatic
oRS.LockType = adLockBatchOptimistic
'Add a few fields
With oRS.Fields
.Append "LastName", adDecimal, , adFldIsNullable
.Append "FirstName", adDecimal, , adFldIsNullable
.Append "HireDate", adDecimal
End With
oRS.Open
thanx,
I found this code to create disconected recordsets. But how can i use a decimal value. Because he creates always a Long type of field.
Set oRS = New ADODB.Recordset
oRS.CursorLocation = adUseClient
oRS.CursorType = adStatic
oRS.LockType = adLockBatchOptimistic
'Add a few fields
With oRS.Fields
.Append "LastName", adDecimal, , adFldIsNullable
.Append "FirstName", adDecimal, , adFldIsNullable
.Append "HireDate", adDecimal
End With
oRS.Open
thanx,