Renwick said:
Thanks for looking on this post. When I open the form in form view I
just get a blank sheet, the things are there when I check in design
view though. I can open the quiery with no problem, and I did get it
working by altering the relationships slightly. I changed the Key
identifier and the forms would open but the data I could save was
useless because I couldn't duplicate the ID number that I was trying
to link so I added an auto number to all of the tables to id them as
the Key but when I try to turn them into a relationship the way the
previous one was, I get an error message saying about it not
being spelled correctly or being the wrong OLE. I have double checked
everything and can find no reason for this error. I have never had
this problem before and I'm a bit confused.
I'm not sure what's going on with that error message, especially since
you didn't quote it exactly and it doesn't make sense as you wrote it in
your post. Here's a hint: often you can press Ctrl+C when an error
message is displayed, to copy the message to the clipboard, and then
paste it into a message. It doesn't always work, but when it does it
saves a lot of trouble.
But setting that aside, a form that opens completely blank is generally
due to a combination of two circumstances: (1) there are no existing
records to display, and (2) no records can be added because either the
form doesn't permit it, or the query is not updatable. I think this is
what is happening in your case. There are various reasons why a query
may be non-updatable. One of them is that the query doesn't include the
primary keys of the necessary tables, and I think that may be relevant
to your case. There's a help topic on the subject; if you type
"troubleshoot queries" in the help search box, you'll probably be able
to locate the topic. Or, depending on which version of Access you are
running, you may get there by searching for "When can I update data from
a query?"
If possible, do the following:
1. Make sure that every table has a primary key field.
2. In your query, make sure the appropriate fields that link the tables
are joined.
After modifying your query's design, open it directly as a datasheet and
see if the "new record" line appears. if so, it's updatable; if not,
and if you can't figure out from the help topic what is wrong with it,
post the SQL of the query in a reply to this message, and maybe we can
figure it out.