I have just started programming in VB5 and I am trying to write code for adding a record to an access database. My datacontrol is bound to a file with a property name "datLibrary". When I run the program, I am able to scroll forward and backwards throught the table. I then created a command button with the following text: "datLibrary.RecordSet.AddNew".
The problem I'm getting is that when I place a "." (period) after the word RecordSet, I don't get a list of options to add, delete, update or anything for that matter. When I run the program I get the following compile error: Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic.
I asked a friend to try this scenario on his computer and the program ran fine.
Any suggestions would be greatly appreciated!!