Versions des environnements
Network:
Windows 2003 Server
>Tamar,
>
>Have you tried tracing the code to see exactly what's happening in the second call to frmBrowser?
>
>I found the culprit - it was a combobox that is part of frmBrowser - but to me raises more questions. At design time, I have set RowSource to a name of a temp table which was created only in the Init of frmBrowser. So, what I did was leave RowSource blank at design time, and let frmBrowser.Init do the setting. The right thing to do.
>
>Big question now is: how come though frmBrowser works during the first time calls?
>
>Maybe you could shed light on this 'phenomenon'... =(
Not sure exactly what's happening, but Init is too late to create a table that's referenced in a control. You need to do it in Load.
Tamar
Précédent
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