Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / May 2008

Tip: Looking for answers? Try searching our database.

Query How To?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ray Todd Jr - 16 May 2008 14:42 GMT
I have two tables:

taProperty
fldPropertyID PK
fldPropertyAddress
fldParcelNumber
fldPropertyZipCode

taCONTACTS
fldCONTACTSID PK
fldPROPERTYID FK
fldLASTNAME
fldFIRSTNAME
fldMIDDLENAME
fldSUFFIX
fldCONTACTTYPE FK

taCONTACTTYPE
fldCONTACTTYPEID PK
fldCONTACTTYPE

I am trying to gather the data so that it can be merged into a word document.

In the query I am gathering all of the selected names, however, I do have a
'calculated' field named "Property_Owner" where if the ContactType="Owner"
the "Property_Owner" field is populated with the owners FirstName MiddleName
LastName Suffix.

When I run the query, it doubles the number of records in the query.  What
am I doing wrong?

Thanks,

Ray.
Ray Todd Jr - 16 May 2008 15:17 GMT
One additional question:  If you had two owners per property, how would you
add both owners to the Property_Owner calculated field?

Thanks,

Ray.

> I have two tables:
>
[quoted text clipped - 30 lines]
>
> Ray.  
KARL DEWEY - 16 May 2008 19:05 GMT
>>What am I doing wrong?
It is really hard to tell from here without having the benefit of seeing
your query.

Open the query in design view, click menu VIEW - SQL View, highlight all in
the new window, copy, and paste in a post.
Signature

KARL DEWEY
Build a little - Test a little

> I have two tables:
>
[quoted text clipped - 30 lines]
>
> Ray.  
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.