Jump to content

Creating a new file


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

Recommended Posts

I've got a file that was exhibting corruption in a layout element. A tab control was acting bizarrely, expanding and ghosting when switching between panels in both Layout and Browse Modes.

I deleted the entire layout and built it again, unfortunately, while working in that file, it appears to be crashing every other time (or so) I use it.

So that file is hosed.

I've got back ups, but how do I know which one is safe? The tab panel was a new element on one of the first layouts. So how do I know when the corruption began? I'm wondering if I can save time by copying & pasting different elements but I don't know if "corruption" will get "transferred". Frankly I don't know what corruption is, except it's really annoying.

Does anyone know if I can do any of the following from a corrupted file to a new one WITHOUT transferring the corruption?

Import tables

Copy and paste tables

Copy and paste fields into Manage Database

Copy and paste scripts

Copy and past script steps

Copy and past layout elements

I suspect script steps would be safe, but I don't know about anything else.

Thanks

Link to comment
Share on other sites

Just off the top of my head, I imagine MyFMButler's ClipManager might shed some light on the corruption, since when you copy layout/table elements to the ClipManager clipboard they come over in FileMaker's internal XML format - which might shed some light on the issue..

Never tried it on a corrupted layout element, though - or even if a corrupted element can actually be copied.

I've got a copy of ClipManager, if you want to toss me a clone off-list to try it on. Point me to a suspect element. Basically I'm curious.

Link to comment
Share on other sites

For what it's worth. Yeah, that tab panel is wonky; it seems to have 2 right endings. But the file is not crashing for me. It doesn't seem to care if I move the panel around or whatever. When I create a new panel and put the stuff in it, it seems fine. So maybe it's just the panel. A little unnerving though.

Link to comment
Share on other sites

That was fun.

The first tab panel had the following defined for its bounds:


1





The second:

17

It was this second right bound that was causing the ghosting; changing it to 858 and pasting it back in with ClipManager produced the object on the new last layout in the attached file.

I wouldn't necessarily use this for production; I was just curious as to what the story was.

Link to comment
Share on other sites

I included the XML for the whole Tab Control in the new layout. Yeah, the XML snippet that manages the parent control is:


0

So it was just the second panel that was exceeding the right bound of the control.

Doesn't really address why this corruption creeps in, and since we don't know all that's going on in the background, this isn't really a fix. I was happy to look at it, I learned something :)

Plug: ClipManager's a great product. We have a site license over here, and use it pretty extensively for moving object groups in batch to different contexts - you can run find/replace operations on the XML and paste it back into FileMaker, so that means you can replace all occurrences of "TABLE1::" with "TABLE2::". Sweet.

Link to comment
Share on other sites

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