ODBC;DSN=Test;UID=;PWD=;SourceDB=\\server\folder\Test\prime.dbc;SourceType=DBC;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes;
Then the functional static query that uses that connection. There are 5 tables in prime.dbc.
Select field1, field2 field3
From Table1
Now based on the function below I want to feed funTestShipUic to the FROM clause instead of the static Table1.
Public Function funTestShipUic() As String
funTestShipUic = lngTestShipUic
End Function
I have tried ...
Select field1, field2 field3
From funTestShipUic()
But I get ODBC--call failed. ODBC Visual FoxPro Driver Invalided subscript reference.