Article ID: 138661
Article Last Modified on 2/10/2000
SELECT <tablename.fieldname> AS custom_name FROM ;
<tablename> INTO CURSOR queryname
A view can be created with FoxPro's CREATE SQL VIEW statement. The
following example will create a local view.
CREATE SQL VIEW mysqlview AS SELECT <tablename.fieldname> AS ;
custom_name FROM <database container.tablename>
Instead of opening the Query or View designer and losing the AS clause, the
code can be changed in a .prg file.
customer.cust_id AS Customer_Idgives the field customer.cust_id the name of Customer_Id when browsed.
Additional query words: VFoxWin
Keywords: KB138661