Bernhart,
You'll have to parse select staement to get cursor and field names. Tere're a couple classes in the download area that may help you started
-
SQLParser File #
9460-
VFP SQL Parser for ODBC File #
9836>
>How to know the name of the cursor contained in the rowsource of a combo ?
>How to know the name of each field in that cursor ?
>
>
>If Combobox have a rowsourcetype = 3
>"SELECT customer.name , firstname FROM CUSTOMER into cursor ccursor"
>
>
>I want "ccursor" and "name" , "firstname"
>
--sb--