Hi,

In my program i select a value from a database i.e

select name_f from owner where owner_id=text10.text

What i need to do is:

for each name_f
select employed from employment where name=name_f(name from previous sq query)

Does anyone know how to implement this in vb? I am new to VB and using VB5.

What i have so far is :


Dim sqll As String
DimRecords As Recordset

sqll = "select name_f from owner where owner_id='" & Text10.Text & "'"

Set Records = aphiscon.OpenRecordset(sSQL, dbOpenSnapshot)






I would appreciate any help with this.

Thanks