Environment versions
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only