September 6, 201213 yr I have Tab Control #1... and then I have Tab Control #2 embedded in the 4th tab of Tab Control #1 I have named the 4th tab of Control 1, WebTab4 On Tab Control #2 (embedded in Tab 4 of Tab Control #1), I have two tabs. I call them WebTab4a and WebTab4b, respectively. When I try to perform script step "Go To Object" to WebTab4, it works perfectly. When I try to perform script step "Go To Object: to WebTab4b, it fails with and Error 116 which is "Layout Object Missing". This happens regardless of whether or not I go to WebTab4 before, or not at all, prior to that script step. Any ideas? The environment is FM Server 12. Thanks,
September 6, 201213 yr check for leading/trailing spaces and quotes around the object name in the inspector window (they shouldn't be there)
September 6, 201213 yr Author Thanks for the thought.... no spaces/quotes existed (leading or trailing)
September 6, 201213 yr It has to be something like that. This is working all right in all my dbs. Inspect carefully the object names and the script steps
September 6, 201213 yr Author Thanks for the encouragement. I am going to chalk this one up to one of those nice little undocumented features. I corrected it by: 1. Moving the problem Tab Control out of the anchor tab control 2. Moving the fields out of the problem Tab Control 3. Deleting the problem Tab Control 4. Creating a new Tab Control 5. Moving the fields into the new Tab Control 6. Moving the new Tab Control back to the anchor Tab Control Everything works just fine now. I had originally created the problem tab control by copying the anchor and then changing the object names. Maybe that somehow was the problem. Anyway.... sometimes, delete and start over seems to be the best solution :laugh2:
September 6, 201213 yr This sounds to me like the child tab object wasn't "attached" to the parent tab object yet. In FM12, on Windows, I noticed that if you copy and paste any object into any parent object (like a tab control or portal), the child object isn't associated with the parent until I move it again after copying. So, I've gotten into the habit of copy, paste, position as you want, move with arrow keys one click left, then one click right (or up/down).
Create an account or sign in to comment