L
Les
I use the code below to create a new record in a sub
[Project_Grades_Required] form when I create a new record in the main form.
this works fine. My problem is if I want to add a further record to the sub
form I get the message "A problem occured while the {Database name quoted}
was communicating with the OLE server or ActiveX Control. When I click OK
the record is created.
Can someone tell me whats happening here and how to get arround it please.
Les
strsql = "INSERT INTO tblProject_Grades_Required (Link)" _
& "VALUES(" & Me!Link_Number & ")"
CurrentDb.Execute strsql, dbFailOnError
Form![Project Grades Required].Requery
[Project_Grades_Required] form when I create a new record in the main form.
this works fine. My problem is if I want to add a further record to the sub
form I get the message "A problem occured while the {Database name quoted}
was communicating with the OLE server or ActiveX Control. When I click OK
the record is created.
Can someone tell me whats happening here and how to get arround it please.
Les
strsql = "INSERT INTO tblProject_Grades_Required (Link)" _
& "VALUES(" & Me!Link_Number & ")"
CurrentDb.Execute strsql, dbFailOnError
Form![Project Grades Required].Requery