>
>PUBLIC nID
>cStringConnect =("DRIVER={SQL Server};SERVER=BOSS700;UID=sa;PWD=sa;DATABASE=Vitoria;Network=DBMSSOCN")
>nID = SQLStringConnect(cStringConnect)
>DO FORM ca_vitoria_teste
>
Above you are putting the connection into a PUBLIC variable "nID"...
>Info about CA in the App Form
>The CA is a subclass of a CA base class (Based on Mark's CABuilder)
>Alias = ca_bancos
>DataSourceType = ODBC
>DataSource = oODBC.nID
Here, you are setting the data source to the "nID" property of the oODBC object, which is NOT the same as the nID public variable.
BOb