Hi!
The view is opened in the Init of the form, but ControlSource for each field is bound BEFORE Init. Just check if view is opened in the Load.
This is the most common situation - HOW to open view in the Load, when I need top open it with parameter that is passed to the form (and thus could be used only in the Init)???
There is NODATA option for USE command. Open view with NODATA option in the load. Then in the Init when parameter is ready, just use Requery() command to get real data.
When using data environment, there is a property representing "NODATA" option.
HTH.
>Hi all,
>
>Sometimes, only with .exe, I open one of my forms and I get this message:
>Alias 'XX' not found. Object not bound.
>I'm sure that my view XX is open but I don't know why I got this message.
>
>Any idea?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.