Hi Again,
I am attempting to create a record on click of my add button.
I am not using DAO.
I am not really sure how to go about assigning values to the DB fields but this is what I am doing....
Set myDB1 = OpenDatabase("c:\Defects\Defects97.mdb")
Set rst1 = myDB1.OpenRecordset("Select * From MajorComponents")
rst1.AddNew Array("MajorComponent", "AltComponent", "TailNumber", "SnapShotDate", "Descriptor", "ScreenShotLocation"), Array("combo1.Text", "combo2.Text", "combo3.text", "text1.text", "File1.Path & '\' & File1.FileName", "text2.text")
The error I get is ... Wrong number of arguments or invalid property assignment.
I'd appreciate some help on this.
Cheers
