>How does one set the data environment for a lot of forms? I have a base class that I use fordata entry. There is no DE in a form class, so where do I add the call to the SetDBFPath function...
>
>I don't want to open a whole lot of forms and add the same line to call the function...
I don't know any other way but to open each form and edit the form. I don't think you can do this programmically at runtime since this has to be done before the form is created. You might be able to define a custom dataenvironment class and then assign this to each form (but this still requires editing the forms). I have this in all my forms set at design time.
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