General information
Category:
Forms & Form designer
Perhaps I did not understand your reply. I thought that placing the open table code should go in the form Load. The data source of the control must exist before the form Init fires or an error will be produced.
>Load comes first, but the form control's don't yet exist. Controls are INITed from inner most to outer most, meaning the controls are INITed before the form. You'll want to set the control source of the textbox in the Form.Init. I would open the table in the Form.Init and read the value from there.
>
>
>>Which comes first on a form Init or Load?
>>
>>I want to open a table, store a value to a memvar and use trhat memvar as teh control source for a text box.
>>
>>When should I do that?
Previous
Next
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