>>Hi All!
>>
>>I have a form with two grids on different pages. I create a cursor that is the record source for the grid on the second page based on the selection in the grid on the first page. I do this in the refresh of page 2, which specifically calls the grid's refresh. Both grids have only one column in which I have replaced the textbox with an editbox. The first time the grids are displayed, they are fine, but after refreshing, I seem to have a textbox again instead of my editbox, and despite resetting Sparse = .F. in the grid refresh, I only see "Memo" in that field. What am I missing?
>>
>>TIA,
>>Criss
>
>Are you assigning the gid's recordsource programmatically anywhere? Are you destroying and recreating the base cursor?
Hi Erik,
Yes, I do a this.recordsource=this.recordsource in each grid's refresh. I was just using a select sql statement to repopulate the cursor in the page refresh method, without destroying and recreating it. I take it that won't work?
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