modificando una aplicacion que ya tiene muchos años (unos 12) a medida que implemento un nuevo sistema GUI me encontre con un problema, me pidieron que se pueda buscar por Nro de Documento (D.N.I) que esta guardado como campo alfabetico.
Resulta que ese campo a sido usado para guardar cosas complementaria com ser L.E , C.U.I.T
, C.I, C.U.I.L, C.U.I.P y el D.N.I en diferentes formas de ingreso como "DNI:" "DNI" "D.N.I" y "dni".
Al no tener una estructura fija no se como implementar una solucion a este problema para sacar
el numero y poder crear un indice con el mismo.
RESUMIENDO: crear un un indice de ese campo conteniendo solo los numeros del D.N.I
PD: adjunto imagen
Google Translate
Saludos DaNiElMaXiMiLiAnOHello everyone
modifying an application that already has many years (around 12) as they implement a new GUI I found a problem, I asked to be searched by Number of Document (DNI) as a field that is stored alphabetically.
It turns out that this area has been used to store additional things to be LE com , C.U.I.T
, C.I, C.U.I.L, C.U.I.P. and DNI in various forms of income as "DNI:" "DNI" "D.N.I" and "dni"
Not having a fixed structure is not how to implement a solution to this problem to get
the number and to create an index with it.
SUMMARY: create an index of the field containing only the D.N.I numbers of
PS: attached image