FoxPro/Visual FoxPro - otro error!!!

 
Vista:

otro error!!!

Publicado por Raul (151 intervenciones) el 03/02/2005 18:12:09
BUENOS DIAS AMIGOA, AHORA EL ERROR ES EL SIGUIENTE, FIJENSE:

YO TENGO UN FORMULARIO , DENTRO DE ESTE UN PAGEFRAME, DENTRO DEL PAGEFRAME UN BOTON Y UN GRID, LA FUNCION DEL BOTON ES AGREGAR AL GRID LOS DATOS DE UNA TABLA, PERO AHI VIENE EL ERROR, CUANDO YO LE DOY CLIC APARECE EL SIGUIENTE ERROR:
"OBJECT IS NOT CONTAINED IN A FORM", SIN EMBARGO SI LE DOY IGNORAR, ME AGREGA LOS DATOS AL GRID, O SEA QUE SI CUMPLE SU OBJETIVO,NADA MAS QUE ME SALE ESE ERROR, USTEDES SABEN PORQUE?????

GRACIAS POR SU AYUDA
SALUDOS, RAUL
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:otro error!!!

Publicado por Roman Suazo (2723 intervenciones) el 03/02/2005 18:29:39
Estas haciendo referencia a un objeto del pageframe o del formualrio incorrectamente. Solo viendo el codigo se podria investigr donde..prueba usando el SET STEP ON para que sepas en qe linea esta el error...
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:otro error!!!,el codigo

Publicado por Raul (151 intervenciones) el 03/02/2005 19:21:01
MIREN AMIGOS AQUI ESTA EL CODIGO QUE TENGO PUESTO EN EL EVENTO CLICK DE MI BOTON:

Select detserv && TABLA
SET FILTER TO detserv.cnomproy = Thisform.factura.encabezado.TxtCNOMPROY.Value
Browse NoAppend NoDelete NoModify

Thisform.Factura.Detalle.TxtNCANT.Value = detserv.NCASOS
ThisForm.Factura.Detalle.TxtCDESC.Value = detserv.CCONCEPTO
ThisForm.Factura.Detalle.TxtNPRECIO.Value = detserv.NCOSTOS
ThisForm.Factura.Detalle.TxtNIMPORTE.Value = detserv.NSUBTOTS

=MESSAGEBOX('ENCONTRADO')
SET FILTER TO

PERO ME SIGUE SALIENDO EL ERROR: "OBJECT IS NOT CONTAINED IN A FORM", QUE PUEDE SER????, GRACIAS POR SU AYUDA
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:otro error!!!,el codigo

Publicado por Roman Suazo (2723 intervenciones) el 03/02/2005 21:23:23
El asunto es sabe en que linea...si usas el SET STEP ON podras ir corriendo en una pantalla especial linea por el codigo que pones, asi podras saber donde esta el error...puede ser que hayas escrito mal el nombre de un objeto o que te hayas olvidado de poner el objeto contenedor en alguna de las referencias
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar