dbTalk Databases Forums  

Updating One Join Table Only (not both)

comp.database.ms-access comp.database.ms-access


Discuss Updating One Join Table Only (not both) in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Johnny Meredith
 
Posts: n/a

Default Updating One Join Table Only (not both) - 06-02-2004 , 10:18 AM






I have a database that generates surveys to send to employees
annually.
I've set up a progress log for the user, such that when the survey is
complete for a particular recipient, the user enters the completion
date.
Here's the table/query/form structure of the Log functionality:

Table: Logs
LogID Primary key.
fkSurveyRecipientID Foreign key, SurveyRecipients.
fldDateSent
fldDateReceived
fldDateFirstNotice
fldDateSecondNotice
fldDateThirdNotice

Query: q_Log
SELECT S.fldFirstName, S.fldLastName, S.fldEmail, L.fldDateSent,
L.fldDateReceived, L.fldSecondNoticeDate, L.fldThirdNoticeDate
FROM SurveyedRecipients AS S INNER JOIN Logs AS L ON
S.SurveyedManagerID = L.fkSurveyedRecipientID
WHERE S.fldNoSurvey=False;

Form: frmLog
Pulls first & last name, date sent, received, 1st notice, 2nd notice,
3rd
notice into a datasheet view (Dynaset). Record source is q_Log above.

Here's the question:
I don't want the user to be able to edit any data related to the
SurveyRecipient
table when using the log. Updates to the recipients are handled
elsewhere. I
just want the user to be able to enter the dates. Is there a way to
not allow
updates to one part of a join (SurveyedRecipients) and still allow
updates to the
other side (Logs)? Am I missing an easier way to do this? I'm in
A97.
I'm versed in VBA.

TIA,
Johnny

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.