Odd Subform behaviour

J

JohnB

Hi.

I have a subform that I've just spotted doing odd things. When a record
doesn't exist for the subform to show, none of the text boxes and labels etc
appear. The subform shows OK, including the record selector at the bottom but
the subform is just a blank. When a record does exist, the subform shows as
normal. There is no Even code on either the subform or main form.

I created another subform and placed it on the main form and it behaves OK.

Any ideas?
 
J

JohnB

Thanks Allen.

I'll check out those conditions tomorrow when I'm back in work. I've
certainly set the subform to be 'view only', so that users can't modify any
of the records in that particular form/subform, so I think you are definitely
on to something there.
I'll let you know the outcome, holefully tomorrow.

Thanks again. JohnB
 
J

JohnB

Hi again.

Sorry for the delay in replying. I've sorted this now. It turned out that
one of the tables used in tyhe query that supplies the form did not have a
primary key allocated. This is a bit embarrasing - I thought I'd allocated a
primary key to all tables at the desigh stage. Anyway, that seems to have
solved it.

The mdb does seem to have behaved OK for some years without it, so hopefully
it will continue to do so now that I've corrected the omission.

Thanks for the help Allen
 

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