I use Oracle database with vb6.

Label6.Caption = rcsetFran.Fields(0)

generates 'Type mismatch and Variable uses an Automation type not supported in Visual Basic'. 0 is a autonumber column.

Solution is to use 'Use a variable of a type recognized by Visual Basic'. If i do this, i cannot use Autonumbers in my tables then.

How can i solve this problem? Do i have add refferences for Oracle in VB?