Hello Guys,

I have receving this message error:

Compile Error:
Function or Interface marked as restricted, or the function uses an automation type not supported in Visual Basic

So...

The line causes break is:

text1.text=data_Control1.Recordset.Fields(5)

If changed to:

text1.text=data_Control1.Recordset![Field_Name]

The same error message appear.

data_control1 = simple data control using Access97 database.

Tx in Adv for helps!!