Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/10/2009, 17:31
harvestmoon
 
Fecha de Ingreso: febrero-2009
Ubicación: cancun!
Mensajes: 898
Antigüedad: 15 años, 3 meses
Puntos: 15
informacion de columna clave... sql 2005

hola que tal chicos espero me puedan dar una guia sobre este problemilla resulta que migre una base de datos de sql 2003 a 2005 ya direccione bn mi programa hacia el nuevo server ahora me sale este error
"Informacion de columna clave insuficiente para realizar la operacion update o refresh"
y cuando le pongo debug me salta en esta linea
Cita:
.Resync adAffectCurrent
que esta en esta funcion
Cita:
Private Function LoadFichaRegistro()
With mrsFichaRegistro
.Resync adAffectCurrent
txtIDExpediente.Text = !IDExpediente
txtFechaApertura.Text = Format(!FechaApertura, "dd/mm/yy")
txtNumeroEscritura.Text = NULLToStr(!NumeroEscritura)
chkBis.Value = Abs(!BIS)
chkPA.Value = Abs(!PA) '20081211 HC
cboAbogadoResponsable.BoundText = !AbogadoResponsable
cboOperacion.BoundText = !Operacion
txtInteresados.Text = NULLToStr(!Interesados)
'txtEmpresa.Text = NULLToStr(!Empresa)
'txtTelFax.Text = NULLToStr(!TelFax)
txtObservFicha.Text = NULLToStr(!ObservFicha)
txtObservGenerales.Text = NULLToStr(!ObservGenerales)
End With 'mrsFichaRegistro
LoadgrdOtorgantes
End Function
verifike esta parte para que se abriera bn la query
mrsFichaRegistro
y tengo esto
Cita:
mrsFichaRegistro.Open "select IDExpediente, FechaApertura, NumeroEscritura, Bis,PA,AbogadoResponsable, " _
& "Operacion, Interesados, Empresa, TelFax, ObservFicha, ObservGenerales " _
& " from FichaRegistro where IDExpediente = (Select min(IDExpediente) from FichaRegistro)", _
gcn, adOpenDynamic, adLockOptimistic, adCmdText
lei sobre este tema y la solucion q ponen es hacer inner join pero yo no tengo dos tablas solo es una
espero me puedan hechar una manita mil gracias
PD me comentaban q podria ser q a la hora de migrar se me kedo algun campo pero lo he verificado y estan todos
saludos espero sus opiniones :D
__________________
WHERE IS MY BLUE SUNNY SKY??
pd: todos los karmas son bienvenidos :D