A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I "tie" fields together.



 
 
Thread Tools Display Modes
  #1  
Old April 28th, 2010, 04:26 PM posted to microsoft.public.access
Evert
external usenet poster
 
Posts: 47
Default How do I "tie" fields together.

I sure hope you all can help me with this. You have always guide me in the
right direction in the past.
I would like to have the following fields to be conditionally formatted
based on the value of another field.
As an example:
tblDrawing has 1 field (Drawing #) with Text as the data type
tblDimensions has 10+ fields with number as the data type and its data is
input in a subform.
What I would like to do is
1. Somehow tie specific dimension to the drawing number so that when the
drawing number is selected, min and max dimensions are set.
2. To have the field in the table dimesions to be populated by the
technician and if the value exceeds the Drawing# parameters min or max
dimensions, the field background turns red.

I have done this on another field using conditional Formatting, however the
values for that field are set and do not change as they would with each
Drawing .

Any help would be greatly appreciated.

  #2  
Old April 28th, 2010, 08:00 PM posted to microsoft.public.access
Arvin Meyer [MVP][_2_]
external usenet poster
 
Posts: 2,310
Default How do I "tie" fields together.

Pull a recordset which returns the [Drawing #] (in brackets as the # is a
delimiter) and compare the max field with the number and the min field with
that number. Throw up a message box if you exceed maximum or are less than
minimum for that Drawing.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.accessmvp.com
http://www.mvps.org/access


"Evert" wrote in message
...
I sure hope you all can help me with this. You have always guide me in the
right direction in the past.
I would like to have the following fields to be conditionally formatted
based on the value of another field.
As an example:
tblDrawing has 1 field (Drawing #) with Text as the data type
tblDimensions has 10+ fields with number as the data type and its data is
input in a subform.
What I would like to do is
1. Somehow tie specific dimension to the drawing number so that when the
drawing number is selected, min and max dimensions are set.
2. To have the field in the table dimesions to be populated by the
technician and if the value exceeds the Drawing# parameters min or max
dimensions, the field background turns red.

I have done this on another field using conditional Formatting, however
the
values for that field are set and do not change as they would with each
Drawing .

Any help would be greatly appreciated.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.