Hmm, If you feel that you don't know something, go to programmers guide and read it ;-)
Ok, sorry.
SELECT cTableAlias command just selects alias (table or cursor opened in some work area) as current. Current alias means that commands
Select MyAlias
replace MyField with MyValue in MyAlias
will not require 'in MyAlias' part, just because MyAlias is current.
However, there are many tools in VFP, and there are many commands (that you might use somewhere in form) that change current alias. So, when you writing a program in VFP, always keep eye on such thing to do not make wrong suggestions that require alias for work is already current.
Example (and this might be a real cause of your problem):
You use select MyAlias in INIT method of form. Than, suggesting that this alias is always current, you use 'MyField1', 'MyField2', ... in the ControlSource property of your controls. However, when MyAlias is not current, these fields will not be visible for controls, just because another alias does not contain these fields. To solve this problem, I recommend you
always use alias before field in ControlSource property:
'MyAlias.MyField1', 'MyAlias.MyField2', ...
Hope this helped. Send answer here if that was a cause of problem.
Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs