Jump to content
Server Maintenance This Week. ×

Foreign Key shows Primary Key 'Name' .. not number... huh?


This topic is 4460 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have an application of Membership.

The tables are:

Members

Meetings

Visitors etcc...

I have a TOC GROUP that consists of: (see pic) post-72145-0-53431300-1328774905_thumb.j

Members TOC

Member Meeting Join

Meetings

First, EVERYTHING WORKS. post-72145-0-56067300-1328775288_thumb.j

I just don't understand 'why'??

I have a report based on MEMBERMEETINGJOIN.

In this report I have a subsummary based on MemberMeetingJoin::KF_Member

post-72145-0-65364500-1328775328_thumb.j

Item #1: The Members TOC KP_MemberID is a SERIAL field with autoupdate.

Item #2: MemberMeetingJoin::KF_Member is a plain, text field that when placed in the report sub summary SHOWS THE CORRECT FULL NAME; ie, John Jones? Huh? Shouldn't the KF show the KP???

It's late so am out of here... Thanks for your thoughts.

Ron

Link to comment
Share on other sites

About 1 AM last night I think I 'got it'.

The input form for Members and Meetings has a Value List that 'shows' the Member Name.

Somehow, when I specify the KF_MemberID, it goes and picks up the MemberName.

Or, does it just 'look' like I am picking up the MemberName and in reality I am picking up the

KF_Member ID?

Link to comment
Share on other sites

It sounds like the field is displayed as a popup menu, and the value list is set to return the ID, but only display the name. Have a look at the value list specified to see what I mean. Also, make a copy of the field and change from popup menu to edit box; you'll see that it shows you the actual value of the field.

Link to comment
Share on other sites

This topic is 4460 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.