Another strange listbox, or just gremlins
Save to folder
I have a listbox with an alias as the rowsource. The user can select the type of data to display in the listbox by selecting one of three radio buttons. The radio buttons re-create the cursor that is the rowsource for the listbox, and then redisplay the listbox. They do this by calling a method on the form. When I run the compiled EXE from within VFP, everything works great. However, when I run it out of VFP I get a syntax error on the line that resets the rowsource for the listbox. I have narrowed it down to one specific field that is displayed in the listbox, and can now get things to work by selecting that field AS another name. What really scares me is that the init of the form also call the method to build the listbox, and that call works even if I don't use select AS. Does anyone have any ideas how can the same code run correctly one time, and generate an error the next?