error 2335

T

tricky300

For some reason Access resets the master/child links when is set the
'sourceobject' property in visual basic. No problem I thought (once I'd found
out what was causing my subform to display the wrong records), I'll just
reset them after the setting of the source object property...

..SourceObject = "lines"
..LinkChildFields = "seq;user;vat"
..LinkMasterFields = "seq;user;vat"

Alas error 2335 ensues, which is basically an objection to having different
numbers of master/child fields defined, presumably because Access has decided
that there is only one linking field. I have tried setting master fields
first too but get the same error message.

Help anyone please?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top