Incidencia #37747

Enumerating DAO Recordset Fields throws unable to cast from Field2 to Field

Abrir Fecha: 2017-12-01 02:08 Última actualización: 2018-02-05 06:32

Informador:
Propietario:
Estado:
Cerrado
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
6
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
1

Details

This is based on feature request from https://github.com/NetOfficeFw/NetOffice/issues/19

Original request:

Hello,

Getting familiar with your amazing project and have faced with such issue - can not enumerate DAO recordset fields - unable to cast from Field2 to Field. Looked at the code and tried to fix by replacing Field with the base _Field which should work with both Field and Field2 - and it seems to work. For now I've checked only with Office 2013 and 2016/365, going to check later also for 2007 - that's the lowest version I need to support.

Attaching svn patch as text - may be it would be helpful.
Fields.patch.txt

Cheers,
Konstantin

Ticket History (3/5 Histories)

2017-12-01 02:08 Updated by: jozefizso
  • New Ticket "Enumerating DAO Recordset Fields throws unable to cast from Field2 to Field" created
2018-01-08 21:08 Updated by: sebastiandotnet
  • Prioridad Update from 5 - Medium to 6
  • Propietario Update from (Ninguno) to sebastiandotnet
  • Resolución Update from Ninguno to Accepted
  • Details Updated
2018-01-15 16:45 Updated by: sebastiandotnet
  • Resolución Update from Accepted to Fixed
2018-02-05 06:32 Updated by: sebastiandotnet
  • Estado Update from Open to Cerrado

Attachment File List

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar