Solved

Master and Child forms

Posted on 2014-12-03
4
138 Views
Last Modified: 2014-12-03
Hello,

I have my form based off my query.  Everytime I open my form it wants the field ID.  Why?  Please see attached doc.
Doc1.docx
0
Comment
Question by:Jass Saini
  • 2
4 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 40479560
Access prompts you for something when you have said "use this" and it does not know how to get a value for it.  Typically it is due to mis-spelling a field or table name, or is a field that you have removed, or have not included in your data source.

So open the queries your forms (main and sub) and see if they work by themselves first.

If so, then it's in the form.  Check the order by and filter by properties. Also look at the master and child links on the subform control.

if you still don't find it, then you must have a control referring to it.

Jim.
0
 

Author Comment

by:Jass Saini
ID: 40479608
I have one query for the main and child..I used that field as my unique field in both the master and child to tie them together....

I am having problems even on my first orginal form and I was not before...
0
 
LVL 18

Assisted Solution

by:Simon
Simon earned 250 total points
ID: 40479693
From your screenshot it looks as though you have a parameter in your main form query with prompt "Select Final.." and possibly something else after that. It's just a guess, but it looks like the kind of statement that could be used as a parameter prompt or a subquery.

Jim's suggestions are good. Just to rephrase a bit, if the forms are based on saved querydefs, open them and see if they prompt you for the parameter "FinalID", or if the recordsource the form is a SQL statement rather than a saved query, click on the "..." to examine it in the query editor and then try to view in datasheet mode to see if you are prompted for the parameter "FinalID".

If nothing shows up after exhausting Jim's suggestions, also try compact and repair on the database. Odd things happen during development, especially when trying several approaches one after the other, or if you save design changes to forms after they've been open in form view.

If it's a small database, you can upload a copy of it here (after deleting any sensitive data) and we'll examine it for you.
0
 

Author Closing Comment

by:Jass Saini
ID: 40479739
Quick response..Thank you.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now