General information
Category:
Coding, syntax & commands
Josh, what is your rowsource, rowsourcetype and controlsource? Is the form or the calling form using a private date session? Is data used by this control being opened / created during the init method? Sounds like the data is not available when the control is initiated but is available for a refresh.
>I have created an exe of a form that includes a combobox. This exe is being called by another application with a DO. If I call the form with the application before it is an exe, then the combobox works fine, but when I call it after it is an exe, then the combobox is empty until I force a refesh of the form. The problem is, it has to be a refresh after the form has finished loading. If I issue a refresh anywhere in the code that is executed as the form initializes, it does nothing. An example
>
>I placed a button on my form with the simple command thisformset.refresh(). I compile it into and exe and call the exe with the other app. The form appears and the combobox is empty. I click the button and the combobox shows properly. Now, I go in and issue a refresh as the last command executed before prompting the user for input and the combobox stays empty.
>
>I have no idea why it is doing this, and if anyone else has any idea on how I can fix this, I would be very appreciative.
>
>Josh
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