473,395 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Updating a check box based on a complicated relationship.

Essentially I'm constructing a database to track a lot of data. Part of
this included a running history table that is linked to data outside
the table. On the main form I used, I've hit a snag.

I want to be able to show on the form if the company entered (each
w/different ID tag) and the table holding info regarding licenses
(linked through company's ID) has the 'active' checked, when it is
filtered by the project number just entered into the previous box.

Linking the query that tells me the info I need for the control makes
the Query records, and thus the form, unupdateable. I need to figure
out how to do this for display purposes, and also how to tie that
result into other queries that are run based on if the company, active
license, and project number intersect to create a project-specific
Yes/No type answer that doesn't lock records.

Help!

May 5 '06 #1
2 1303
"Jaaz" <Ja****@gmail.com> wrote in
news:11*********************@v46g2000cwv.googlegro ups.com:
Essentially I'm constructing a database to track a lot of
data. Part of this included a running history table that is
linked to data outside the table. On the main form I used,
I've hit a snag.

I want to be able to show on the form if the company entered
(each w/different ID tag) and the table holding info regarding
licenses (linked through company's ID) has the 'active'
checked, when it is filtered by the project number just
entered into the previous box.

Linking the query that tells me the info I need for the
control makes the Query records, and thus the form,
unupdateable. I need to figure out how to do this for display
purposes, and also how to tie that result into other queries
that are run based on if the company, active license, and
project number intersect to create a project-specific Yes/No
type answer that doesn't lock records.

Help!

You should be able to retrieve the checkbox's value using a
DLookup() or a user-defined function in the query, or to an
unbound control on the form itself..

--
Bob Quintal

PA is y I've altered my email address.
May 6 '06 #2
Thanks! I looked it up and looks like it'll do exactly what I need come
Monday. Still learning VB I guess.

May 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Debra Ehrlich | last post by:
I'm having a difficult time calling UPDATE when my 'WHERE" clause calls ID, which is numeric and the primary key. I found that I can do a SELECT just fine with "WHERE ID".. Is there something...
26
by: pb648174 | last post by:
I have a table called BidItem which has another table called BidAddendum related to it by foreign key. I have another table called BidFolder which is related to both BidItem and BidAddendum, based...
0
by: cwbp17 | last post by:
I'm having trouble updating individual datagrid cells. Have two tables car_master (columns include Car_ID, YEAR,VEHICLE) and car_detail (columns include Car_ID,PRICE,MILEAGE,and BODY);both tables...
9
by: Edmund Dengler | last post by:
Greetings! Just trying some tests out, and wanted to know about some optimizations. If I do a CHECK constraint on a table, is this used to optimize a SELECT or does Postgresql rely mostly on...
4
by: Geoff | last post by:
Hi I'm hoping somebody can help me with the following problem that has occurred to me. Suppose I have two tables in an SQL Server database. Let's call these tables A and B. Assume that A has...
4
by: bobh | last post by:
Hi All, In AccessXP I create an Access table then create an update query which updates a field in that table with data from an SQLServer table and when I run it I get the message 'operation...
7
by: J-P-W | last post by:
Hi, in the past I've spent ages writing VB routines to get around this problem, is there a simple way? I have three tables for a membership system: tblMembership - MembershipNumber; Names etc...
4
by: Macbane | last post by:
Hi, I have a 'main' form called frmIssues which has a subform control (named linkIssuesDrug) containing the subform sfrmLink_Issues_Drugs. A control button on the main form opens a pop-up form...
6
by: Richard Penfold | last post by:
Can someone explain why a field on the many side of a one-to-many relationship, with referential integrity enforced, is not automatically updating? I have 5 tables in my database with the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.