Hi, in testing I'm doing to generate a report in Excel error when compiling my mark on the following: DbSeek (DTOS (g_fech_ini). T.), annex image error.
Any help on why I get this error and how can I fix this.
Continuing with the same subject, as I am in the process of testing, I get errors (as mentioned), and when I close my user session or shut down my computer I get the dialog to save the file in Excel.
How can I unlock the Excel object, to avoid any memory although this is not viewing the program excel open.
Thank you
Greetings
Javier
About DbSeek error (DTOS (g_fech_ini). T.) to Excel
Moderator: Rathinagiri
About DbSeek error (DTOS (g_fech_ini). T.) to Excel
- Attachments
-
- img02.jpg (36.11 KiB) Viewed 2845 times
- luisvasquezcl
- Posts: 1259
- Joined: Thu Jul 31, 2008 3:23 am
- Location: Chile
- Contact:
Re: About DbSeek error (DTOS (g_fech_ini). T.) to Excel
Hola Javier,
el mensaje de error indica que el problema está en los argumentos que estas pasando:
1. quita el segundo parametro, .T. , dentro de la funcion dtos
2. verifica que g_fech_ini sea un valor de fecha valido. Si g_fech_ini es un campo de fecha puedes verificar con day(g_fech_ini) > 0, si la funcion devuelve 0 no es válida o está vacia en caso contrario devolverá un número de 1 a 7.
Si creas el objeto excel y te sale error antes de hacerlo visible, sólo deberás abrir el administrador de tareas (CTRL+ALT+SUPR) y eliminar la tarea a mano.
Generalmente creo un array con los datos que voy a exportar a excel, asi me aseguro que los datos ya estan validados. es un poco más lento pero más seguro.
Espero te sirva,
Saludos cordiales
Luis Vasquez
el mensaje de error indica que el problema está en los argumentos que estas pasando:
1. quita el segundo parametro, .T. , dentro de la funcion dtos
2. verifica que g_fech_ini sea un valor de fecha valido. Si g_fech_ini es un campo de fecha puedes verificar con day(g_fech_ini) > 0, si la funcion devuelve 0 no es válida o está vacia en caso contrario devolverá un número de 1 a 7.
Si creas el objeto excel y te sale error antes de hacerlo visible, sólo deberás abrir el administrador de tareas (CTRL+ALT+SUPR) y eliminar la tarea a mano.
Generalmente creo un array con los datos que voy a exportar a excel, asi me aseguro que los datos ya estan validados. es un poco más lento pero más seguro.
Espero te sirva,
Saludos cordiales
Luis Vasquez
Re: About DbSeek error (DTOS (g_fech_ini). T.) to Excel
Gracias por contestar Luis, realmente tuve un error, pues muy acostumbrado a Clipper, olvide hacer ventana.objeto.valor
Gracias
Saludos
Javier
Gracias
Saludos
Javier
Re: About DbSeek error (DTOS (g_fech_ini). T.) to Excel
Anything you can do, it's to call task manager and kill Excel process.jparada wrote:Hi, in testing I'm doing to generate a report in Excel error when compiling my mark on the following: DbSeek (DTOS (g_fech_ini). T.), annex image error.
Any help on why I get this error and how can I fix this.
Continuing with the same subject, as I am in the process of testing, I get errors (as mentioned), and when I close my user session or shut down my computer I get the dialog to save the file in Excel.
How can I unlock the Excel object, to avoid any memory although this is not viewing the program excel open.
Thank you
Greetings
Javier
Re: About DbSeek error (DTOS (g_fech_ini). T.) to Excel
I think, it should look like that:jparada wrote:Hi, in testing I'm doing to generate a report in Excel error when compiling my mark on the following: DbSeek (DTOS (g_fech_ini). T.), annex image error.
regards, MarekDbSeek(DTOS (g_fech_ini), .T.)
Re: About DbSeek error (DTOS (g_fech_ini). T.) to Excel
Thanks Marek and Luis, I could solve this problem
Thanks
Greetings
Javier
Thanks
Greetings
Javier