Problems removing Form/Subform link using LinkMasterFields

  • Thread starter Thread starter mail4danca
  • Start date Start date
M

mail4danca

Hi,

I'm trying to remove a link between a form and a subform using the
following code:
Me!subform.LinkMasterFields = ""
Me!subform.LinkChildFields = ""

The result is the error code: You canceled the previous operation (run-
time error 2001).
Don't know what is wrong. I also tried:
Me!subform.LinkMasterFields = Null
Me!subform.LinkChildFields = Null
but that gave me a different error message.
FYI, I have access 2003.

Thanks,
Daniel
 
Back
Top