Grids vacíos ?

HMG en Español

Moderator: Rathinagiri

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

Re: Grids vacíos ?

Post by cmaciass »

franco wrote: Sun Aug 23, 2020 4:05 pm Are you running hmg 3.44 ?
----------

Hi !

Yes, the version I am using is 3.4.4
franco
Posts: 877
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: Grids vacíos ?

Post by franco »

It looks like the grid is not linked to the table with municipio.
you may have to select the table and refresh the grid.
On my invoicing windows. I set focus to grid after end define and before I activate the window, and on got focus of grid I refresh the the grid.
I wonder if at the start of the window you could check the table record number of the grid cell one.
All The Best,
Franco
Canada
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Grids vacíos ?

Post by mol »

I had a lot of problems with grid with dbf many years ago.
Until now I'm using browse control for dbfs viewing. Faster, stable and without any problems
User avatar
Ismach
Posts: 163
Joined: Wed Nov 28, 2012 5:55 pm
DBs Used: DBF, mySQL, Mariadb, postgreSQL, Oracle, Db2, Interbase, Firebird, and SQLite
Location: Buenos Aires - Argentina

Re: Grids vacíos ?

Post by Ismach »

Quiero ver el codigo del "USE", no deberia ser con opcion USE <BASE> SHARED ?

Code: Select all

       USE Usuarios SHARED NEW
        IF !NETERR()
              SET INDEX TO CodUser 
        ELSE
              MSGINFO("USE FALLIDO")
              RELEASE WINDOW ALL
        ENDIF
User avatar
cmaciass
Posts: 16
Joined: Sat Jun 01, 2013 2:45 am
Location: Zacatecas, Mexico

Re: Grids vacíos ?

Post by cmaciass »

---------------------------------
Hola, a todos !! :) :)

Mil gracias por sus consejos y aportaciones, resolvi el problema, utilizando los grids con arrays (ITEMS) en vez de cargarlos directo desde el dbf (ROWSOURCE) y ya está funcionando

- - - - - - - -

Hi all !! :)

Thank you very much for your advice and contributions, I solved the problem, using the grids with arrays (ITEMS) instead of loading them directly from the dbf (ROWSOURCE) and it is already working

:D

Carlos Macias
franco
Posts: 877
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: Grids vacíos ?

Post by franco »

I agree with Mol.
I use browse for viewing from dbf`s, no arrays.
All The Best,
Franco
Canada
User avatar
tonton2
Posts: 455
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Grids vacíos ?

Post by tonton2 »

cmaciass wrote: Sun Aug 23, 2020 4:11 am Me esta pasando en todos los grids y con diferentes DBFS solo funciona en la primer ejecución de la aplicación, al abrir una segunda vez ya sea en el propio equipo o en otros en red los grids no muestran la información, los grids los alimento a través de ROWSOURCE en donde indico el alias del dbf... :(
Bonsoir
j'ai déjà eu ce problème et je l'ai à ce jour aléatoirement, cela m'arrive lors d'une ouverture d'une base de données après avoir fermé une précédente base.
Last edited by tonton2 on Tue Aug 25, 2020 5:22 pm, edited 2 times in total.
L'Algerie vous salut
Y.TABET
User avatar
tonton2
Posts: 455
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Grids vacíos ?

Post by tonton2 »

mol wrote: Mon Aug 24, 2020 5:59 pm I had a lot of problems with grid with dbf many years ago.
Until now I'm using browse control for dbfs viewing. Faster, stable and without any problems
je confirme le problème ne se pose pas avec "BROWSE"
L'Algerie vous salut
Y.TABET
Post Reply