Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access General > Checking for da...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 92550 of 97661
Post > Topic >>

Checking for data with the same number in another table

by Burden <james.burden@[EMAIL PROTECTED] > Aug 8, 2008 at 06:30 AM

Ok this is driving me mad. I can never get this right.

I have two tables, both with a field called SON. One table contians
the main data and customers and job status. The other table is for
logging faults and failures of that job.

On my main form i have created a button called "Log Fault" that
creates a fault log. This stores the data into the [Fault Logging]
table. I also have a button called "Close Fault" which opens a form
which is getting it's data from a query that runs that shows only the
records that match the main forms SON number.

Query Criteria
Loaded forms
[forms]![form - touch find]![son]

This works great!

Now this is where i am stuck. I have made the "Close Fault" button
disabled and would like it to become enabled when i am on the record
on the main form [form - touch find] if the [SON] number exist's in
the [Fault Logging] table.

Does anyone have any ideas.

I have done this before but it was looking at a field in the same
table. I only have problems when i need to look at another table to
get my result.
 




 6 Posts in Topic:
Checking for data with the same number in another table
Burden <james.burden@[  2008-08-08 06:30:37 
Re: Checking for data with the same number in another table
"Allen Browne"   2008-08-08 21:48:48 
RE: Checking for data with the same number in another table
=?Utf-8?B?Unlhbg==?= <  2008-08-08 06:50:02 
RE: Checking for data with the same number in another table
=?Utf-8?B?Unlhbg==?= <  2008-08-08 06:54:03 
Re: Checking for data with the same number in another table
Burden <james.burden@[  2008-08-08 07:13:19 
Re: Checking for data with the same number in another table
=?Utf-8?B?Unlhbg==?= <  2008-08-08 07:32:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 22:03:18 CST 2008.