
ODBC/VB4 Update Oracle Table
Quote:
> Hi,
> I wanna access local personal oracle7 database in VB4.
> But, I have no idea how to connect to local oracle7.
> In my opinion, I have to access by ODBC, SQL$NET,
> But, I dont know how to setup the configuration files.
> Thank you.
Look at your SQL*Net configuration -- you should have a connection
called beq-local. This connects to your local database.
Put a Data Control down, and give it these properties:
Connect = "ODBC;DSN=beq-local;UID=scott;PWD=tiger;"
RecordsetType = 1 'Dynaset
RecordSource = "select * from table_name"
Put a text field down, and give it this property:
DataSource = "Data1"
DataField = "column_name" 'colunn_name from the above query
Run it, and you should be able to navigate your way through the table...