JonAgnew Posted January 30, 2012 Posted January 30, 2012 Hi, All. Newbie here with a noob question (do we have any other kind?). As a noob, I don't have the FMP vocabulary that you guys have, so I'm including some screenshots of the problem to make it easier to explain. I am making a fairly simple equipment rental solution for my employer. The relevant tables here are: JOBS, GEAR, CREW, BOOKINGS_GEAR, BOOKINGS_CREW. On my main JOBS layout, I have two sets of tabbed areas, each with two tabs (see attached photo above). The two tabs in Tab Area #1 each contain portals listing All records for Gear and Crew, respectively. Tab Area #2 has two tabs with portals showing Gear and Crew that have been added to the specific job. The "Add" button in Tab Area #1 runs the script shown in the photo below. This script basically checks for date conflicts, then, if there are no conflicting results, adds the selected equipment/crew member to the job. The problem I am having involves the refreshing on the screen after the Add Crew script is run. The script returns me to the original layout, but does not have the right tabs selected. I've played around with freezing the window, opening a new window, then closing that window, but for some reason, that results in a false date conflict. So, how would I go about returning to the original layout AND having the proper tabs selected? Any pointers in the right direction would be greatly appreciated. Thanks!
comment Posted January 30, 2012 Posted January 30, 2012 Try naming your tab panels (in the Position pane of the Inspector) then use Go to Object[] to select them.
Recommended Posts
This topic is 4681 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