Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Stefan
>Try a simple thisform.refresh()
>
>This might help.
already in the code, Doesn't seem to make the slightest difference
here, take a look... this is the relevant click code:
thisform.alwaysontop=.f. && allow the other form to appear on top
thisform.jgrid.recordsource=''
numrecs=reccount()
do form journalentry
thisform.alwaysontop=.t.
thisform.jgrid.recordsource='Journal'
if reccount()>numrecs && we must have added records
thisform.journalsaved=.f.
thisform.savebutton.enabled=.t.
sum cred to thisform.totcredits
sum deb to thisform.totdebits
else
thisform.savebutton.enabled=.f.
endif
if reccount()>2 and thisform.totdebits=thisform.totcredits
thisform.acceptbutton.enabled=.t.
endif
*thisform.jgrid.init && feeble attempt at making the records display
thisform.refresh
The data is definitlely there. I can use the button to add and amend records and see their values in the form. But back at the grid, everything is clean as a whistle...
Harry
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement