WMJOBSPINFM Posted February 23, 2005 Posted February 23, 2005 I am trying to perform a find from one table to another related table. For example: I want to go from one table to another by pushing a button. I want to find the same record that I am in currently, matched with the same record in the second table. How can I accomplish this. I tried a script like this: enter find mode set field(main:ordernum;auth:ordernum) peform find But this script tells me no records found, modify or cancel find. Let me know what I'm doing wrong, or if there is a totally different way of handling this. Thanks!
-Queue- Posted February 23, 2005 Posted February 23, 2005 Relationships don't exist in Find Mode. So, unless auth::ordernum is a global, Set Field has no effect. You are not doing a find in the related table anyway; your find is being performed in the current one. If, however, you have a relationship between main and auth based on the ordernum field, simply use Go to Related Record [show only related; Using layout: [{layout based on auth TO}]; "MainToAuthRelationship"].
WMJOBSPINFM Posted February 24, 2005 Author Posted February 24, 2005 I'm sorry actually its not in a different Table Occurance. Its actually a different file with a relationship using order number.
-Queue- Posted February 24, 2005 Posted February 24, 2005 It's the same principle then. Use GTRR, followed by a Select Window [the new window] step to bring it to the front.
Recommended Posts
This topic is 7551 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 accountSign in
Already have an account? Sign in here.
Sign In Now