Converting DAO Recordset to Disconnected ADO Recordset dbDecimal Issue

99封情书 提交于 2019-12-04 13:07:33

This works for me, but I am not sure why you are not just creating the ADODB recordset from the table and disconnecting it.

  Case dbDecimal
      ra.Fields.Append f1.Name, adDecimal, , adFldIsNullable
      Set fa = ra.Fields(f1.Name)
      fa.NumericScale = 19
      fa.Precision = 4

Also, why not

    Dim ra As New ADODb.Recordset
    ''Set ra = New ADODb.Recordset
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!