Que estan desarrollando/what are they developing

HMG en Español

Moderator: Rathinagiri

User avatar
cmaciass
Posts: 16
Joined: Sat Jun 01, 2013 2:45 am
Location: Zacatecas, Mexico

Re: Que estan desarrollando/what are they developing

Post by cmaciass »

Hola, Saludos !!

Estoy desarrollando una aplicación para el manejo de un padrón de usuarios del servicio de agua potable.. voy algo avanzado =)

pero, aprovechando esta ocasión quisiera preguntar si a alguien le ha pasado lo siguiente:

en la aplicación funcionan perfectamente los GRIDS son desplegados con al información que contienen los DBFs

El problema surge cuando ejecuto una segunda instancia de la aplicación, los grids no muestran los datos.

anexo ejemplo:


mucho agradeceria me puedan orientar =)

Mil gracias de antemano.


---------------------------------


Hello greetings !!

I am developing an application to manage a register of users of the drinking water service .. I am somewhat advanced =)

But, taking advantage of this occasion, I would like to ask if the following has happened to someone:

GRIDS work perfectly in the application, they are displayed with the information contained in the DBFs

The problem arises when I run a second instance of the application, the grids do not show the data.

Annex example:


I would be very grateful if you could guide me =)

Thank you in advance.
Attachments
Grid_SIN_datos.jpg
Grid_SIN_datos.jpg (191.49 KiB) Viewed 4482 times
Grid_CON_datos.jpg
Grid_CON_datos.jpg (212.84 KiB) Viewed 4482 times
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Que estan desarrollando/what are they developing

Post by luisvasquezcl »

cmaciass wrote: Sat Aug 22, 2020 2:54 am Hola, Saludos !!

Estoy desarrollando una aplicación para el manejo de un padrón de usuarios del servicio de agua potable.. voy algo avanzado =)

pero, aprovechando esta ocasión quisiera preguntar si a alguien le ha pasado lo siguiente:

en la aplicación funcionan perfectamente los GRIDS son desplegados con al información que contienen los DBFs

El problema surge cuando ejecuto una segunda instancia de la aplicación, los grids no muestran los datos.

anexo ejemplo:


mucho agradeceria me puedan orientar =)

Mil gracias de antemano.

Hola
que buena pantalla, muy bonita.
respecto al grid, lo tienes enlazado a dbfs o lo cargas con array?
saludos.

---------------------------------


Hello greetings !!

I am developing an application to manage a register of users of the drinking water service .. I am somewhat advanced =)

But, taking advantage of this occasion, I would like to ask if the following has happened to someone:

GRIDS work perfectly in the application, they are displayed with the information contained in the DBFs

The problem arises when I run a second instance of the application, the grids do not show the data.

Annex example:


I would be very grateful if you could guide me =)

Thank you in advance.
User avatar
cmaciass
Posts: 16
Joined: Sat Jun 01, 2013 2:45 am
Location: Zacatecas, Mexico

Re: Que estan desarrollando/what are they developing

Post by cmaciass »

Hola Lo tengo enlazado a dbfs...
anexo como lo tengo definido ;)

DEFINE GRID Grid_personal
ROW 55
COL 50
WIDTH 630
HEIGHT 195
ITEMS { {""} }
VALUE Nil
WIDTHS {50,70,270,210}
HEADERS {"Cve.","N corto","Nombre","Cargo"}
FONTNAME "Verdana"
FONTSIZE 9
TOOLTIP "Doble click para ver detalles o modificar"
ONCHANGE Nil
ONGOTFOCUS Nil
ONLOSTFOCUS Nil
FONTBOLD .F.
FONTITALIC .F.
FONTUNDERLINE .F.
FONTSTRIKEOUT .F.
ONDBLCLICK Consulta_personal()
ONHEADCLICK Nil
ONQUERYDATA Nil
MULTISELECT .F.
ALLOWEDIT .F.
VIRTUAL .F.
DYNAMICBACKCOLOR {fcolor , fcolor, fcolor, fcolor }
DYNAMICFORECOLOR Nil
COLUMNWHEN Nil
COLUMNVALID Nil
COLUMNCONTROLS Nil
SHOWHEADERS .T.
CELLNAVIGATION .F.
NOLINES .F.
HELPID Nil
IMAGE Nil
JUSTIFY { GRID_JTFY_LEFT, GRID_JTFY_LEFT, GRID_JTFY_LEFT, GRID_JTFY_LEFT}
ITEMCOUNT Nil
BACKCOLOR NIL
FONTCOLOR {0,0,64}
HEADERIMAGES Nil
ROWSOURCE "Empleado"
COLUMNFIELDS {"clave","nom_corto","nombre","cargo"}
ALLOWAPPEND .F.
ALLOWDELETE .F.
BUFFERED .F.
DYNAMICDISPLAY Nil
ONSAVE Nil
LOCKCOLUMNS 0
END GRID
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Que estan desarrollando/what are they developing

Post by luisvasquezcl »

Personalmente nunca he usado el grid enlazado a dbf, pero me da la impresión que el problema va por el alias de la tabla.

ROWSOURCE "Empleado"

Prueba a abrir la tabla con un alias distinto, yo creo que te va a solucionar el problema.
puedes crear un nuevo alias de la siguiente forma:

cAlias = "Empleado"
if Select( cAlias ) != 0
For i = 1 to 255
if Select( i ) = 0
cAlias := "Empleado"+strzero( i, 3 )
Exit
endif
Next
endif

saludos.
trmpluym
Posts: 303
Joined: Tue Jul 15, 2014 6:52 pm
Location: The Netherlands

Re: Que estan desarrollando/what are they developing

Post by trmpluym »

cmaciass wrote: Sat Aug 22, 2020 2:54 am Hola, Saludos !!
I like the GUI of your application. Where did you find de icons ?

Theo
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: Que estan desarrollando/what are they developing

Post by apais »

Claudio:

Hola compa !
No conozco la interfaz ni el trabajo de Marcelo Neves.
Tienes algún link que yo pueda ver ?

Salute !!
Angel Pais
Web Apps consultant/architect/developer.
User avatar
cmaciass
Posts: 16
Joined: Sat Jun 01, 2013 2:45 am
Location: Zacatecas, Mexico

Re: Que estan desarrollando/what are they developing

Post by cmaciass »

trmpluym wrote: Sat Aug 22, 2020 12:58 pm
cmaciass wrote: Sat Aug 22, 2020 2:54 am Hola, Saludos !!
I like the GUI of your application. Where did you find de icons ?

Theo

---------------------------------

Hello greetings!!

I usually find them on pages dedicated to icons for example:

https://es.dreamstime.com/imagen-de-arc ... age1669301
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Que estan desarrollando/what are they developing

Post by srvet_claudio »

apais wrote: Sat Aug 22, 2020 2:03 pm Claudio:

Hola compa !
No conozco la interfaz ni el trabajo de Marcelo Neves.
Tienes algún link que yo pueda ver ?

Salute !!
Hola Angel !!!
Estamos en la misma, yo también quiero saber de qué se trata, sinceramente nunca había escuchado habar de esa interfase.
Abrazo!
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Que estan desarrollando/what are they developing

Post by bpd2000 »

cmaciass wrote: Sat Aug 22, 2020 2:54 am
Hello greetings !!

I am developing an application to manage a register of users of the drinking water service .. I am somewhat advanced =)

But, taking advantage of this occasion, I would like to ask if the following has happened to someone:

GRIDS work perfectly in the application, they are displayed with the information contained in the DBFs

The problem arises when I run a second instance of the application, the grids do not show the data.

Annex example:


I would be very grateful if you could guide me =)

Thank you in advance.
Refer example of Agenda
location at C:\hmg\SAMPLES\Applications\AGENDA
BPD
Convert Dream into Reality through HMG
JALMAG
Posts: 262
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: Que estan desarrollando/what are they developing

Post by JALMAG »

La solución puede pasar por utilizar un alias diferente de la misma tabla, se pueden utilizar tantos como se desee y los cambios que se realicen en cualquier alias repercuten en el DBF.
Saludos
Post Reply