>>>I've got an interesting problem where aliases keep "disappearing".
>>>I'm working with three different forms, each of which has about 5 tables/views
>>>in its data environment. During run time, everything works great for a while, >>then I start getting a bunch of "alias not found" errors. I have to >>reinitialize the data environment of the forms or re-run the forms in order >>to make things work again.
>
>
>> Does this happen after hitting a certain button,
>> or exiting a certain field? Is there some kind of pattern.
>
>Actually, there is a pattern. It happens every time I click a certain button on one of my forms. I thought the same thing you did - I checked the click method of the button to make sure it wasn't closing tables or anything like that. I didn't find anything really incriminating.
>
>Maybe I should just go through and debug the code in the click method line by line until I find the offending command?
>
>-Jeremiah
In the debugger, set a breakpoint on USED("alias"). The application will stop when the value changes.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer