Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I want to do the following:

copy part no from layout A

goto layout B

paste partno into layout B

do find layout B

quit find layout B

This sounds easy, but I am having trouble with it.

Ivan

Posted

Do you want to find in layout B using the valuie you copied from layout A?

If so, do the following:

Create a global field of the same type a part no, probibly text.

Use Set Field to set the value of the global to the part number.

Go to layout B.

Enter find mode.

Use Set Field to set the value to the global field.

Perform Find.

That should do it.

Posted

whats wrong with this line? global field will not change!

Set Field[quote::pnsrch; quote::pnsrch=quote::quoteno

Ivan

Posted

quote::pnsrch=quote::quoteno makes this a boolean expression, true or 1 if they are equal and false or 0 if they are not. I don't think that is what you want. The set field has two things that must be specified, the field to be set and the value to which it is to be set.

I think you may want : Set Field

Posted

Or create a relationship between the tables, based on the two fields, and use Go to Related Record [ Show only related records; From table: "secondtable"; Using layout: "layoutAssociatedWithsecondtable" ].

Posted

Ralph:

Your right. it returns 1 or 0. I tried it as you wrote it and it will not set the global field. It will set all other fields.

Ivan

Posted

There seems to be a problem using Set Field between tables. It works when your in the same table. Won't work between tables. I Set a relatioship between the two tables and that did'nt help.

Ivan

Posted

Are you trying to set the field in Find Mode? Relationships don't exist in Find Mode. But you shouldn't need a relationship to set a global in version 7 anyway.

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