Esta es mi ventana inicial (imagen 001).
Cuando llamo a la ventana administar alumnos (imagen 002)
para despues abrir la ventana agregar/editar, para poner una foto (imagen 003)
si solo cancelo sin modificar foto no marca ningun error
pero si agrego o modifico foto, al regresarme a la ventana inicial y querer de nuevo abrir administrar alumnos
me marca el error "error de apertura:evaluar.dbf"
aquí es donde habro las tablas
-------------------------------------------
Hello, I need your help
this is my initial window (image 001)
when I call window manage student (image 002)
and after I open window add/edit to put picture
if I return to initial window and I want open window manage student "open failure:evaluar.dbf"
but not modify picture, no error.
excuse me English.
*--- open tables----
Code: Select all
procedure AbreTabla3
Use evaluar alias evaluar new
Use lista alias lista new
Use alumnos alias alumnos new via 'DBFCDX'
If !file("alumnos.CDX")
INDEX ON alum_id TAG alum_id TO alumnos
INDEX ON alum_apell TAG alum_apell TO alumnos
endif
return
Code: Select all
procedure CierraTabla3
close database
return
*---call pictures-----
Code: Select all
Procedure llamafoto()
local tipo:= {}
aadd (tipo,{"Archivos de imagenes (JPG, BMP, GIF)","*.jpg;*.bmp;*.gif"})
aadd (tipo,{"Imagenes JPG","*.jpg"})
aadd (tipo,{"Imagenes BMP","*.bmp"})
aadd (tipo,{"Imagenes GIF","*.gif"})
archivo := ""
archivo := GETFILE (tipo,"Cargar imagen de fondo...","",.F.,.F.)
ed_alum.image_1.picture:=archivo
Return nil
Gracias de antemano
------------------------
Thank you