
Binding Data Control to remote data source.
writes:
Quote:
>Why when I try to connect a data control in VB to a remote data source table
using:
Quote:
> ctlDB.Connect = "ODBC;DSN=QEDSName
> ctlDB.ReadOnly = False
> ctlDB.RecordSource = "customer">> ctlDB.Refresh
>I get the message:
>Couldn't find input table or query 'customer'.
This is a follow-up to my earlier reply. I think I may have discovered the
problem. In our case, a public synonym defined for the underlying table was
causing the problem. Note that the error "Couldn't find input table or query
..." is a different error message from "Table or view does not exist". The
latter error can be invoked if you intentionally mispell the table name. This
is correct because the table does not exist. However, in the "couldn't find
input table..." error, the table *does* exist but ownership or reference to
it is kind of vague, thus it couldn't be found.
Our problem was corrected by removing the public synonym defined for the
underlying table.
Hope this helps.