Sabtu, 21 April 2012

[MS_AccessPros] Fixing a default value for a table.

 


Using Access 2007 with Windows7.

I have a registration table for meetings and a separate table for the
secretary to determine the "Next Meeting" it has only one record.

I need "tNextMeeting" table to use the field "MeetingID" from the
"tNextMeeting" table. This SQL does not work.

SELECT tNextMeeting.MeetingID, tRegistrants.ClubID,
tRegistrants.MemberID, tRegistrants.ChoiceID,
tRegistrants.RegistrantID, tRegistrants.PostHolderID, tRegistrants.LastUpdated
FROM tRegistrants INNER JOIN tNextMeeting ON tRegistrants.MeetingID =
tNextMeeting.MeetingID
ORDER BY tRegistrants.ClubID;

I have also tried to make the default value of "MeetingID" in the
"tRegistrants" table as [tNextMeeting].[MeetingID] which shows the
error message could not find the field 'tNextMeeting].[MeetingID'

Is my plan possible?

Many thanks,

Robin Chapple

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar