Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I connect VB to AS/400 by specify file member ?

Status
Not open for further replies.

SBh

Programmer
Jul 4, 2001
9
US
I have one database file in AS/400, named ' PF1' in library 'MYLIB'.
This PF1 have 2 members: MBR1 and MBR2.

I already create ODBC to connect AS/400 and open recordset :

dim rs as new adodb.recordset

rs.open "Select * from MYLIB.PF1", MyConnection


This command allow me to view only MBR1 in PF1.

How can I select records from MBR2 in PF1 ??

If u khow .. Help me, Please ...
Thank you so much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top