Jump to content

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

Recommended Posts

Posted

Why do my value lists that are comprised of two fields in the same table (ID and Name- sorted by the first) only show the first value in IWP? They work in Pro. When I change the sort to the second, things get weird. The first field is the unique key- the name may be used more than once. My users need to see the names to choose. I'm using Server Adv. on Windows 2000. Thanks!

Posted

Hi Anna

IWP is a difficult beast to tame.

Second field won't show in either list, menu, check box or radio buttons !

I use a calculated field to show 2 field's at once.

Posted

But if you calculate an id field with a name, then you have to add even more steps to strip out the name from the id field. All Anna wants is the id field, the name appears to make it user friendly. So how do we accomplish user friendliness without hours of excess programming?

Posted

Here's how I solved this under a tight time constraint (not the most elegant solution but it works).

Define two fields in the local file, ID and Name. Define the value list to use just the name field from the other file. Put the name field on the layout and allow the user to selected from the value List.

Define a relationship between the two Name fields in the two files. In the local file, set the ID field to do an Auto-Enter lookup based on that relationship and grabbing the ID from the second file.

Since the Name can change in the second file, a method is needed to refresh the Name when editing the record. I use a script that's executed when I edit the record, it does a Set Field (a second relationship is needed between the two ID fields).

Clear?

This topic is 7234 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.