Jump to content

Maker of Files

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Maker of Files's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. That is so helpful, thank you! The reason there are so many indented lists is because it's a policy handbook.
  2. I know, but I want to force it not to do that. So if I could make it understand &tab; or something, that would be ideal.
  3. So I want to export a text field to a website. The text field has many, many tab characters to set up alignment of lists, indented paragraphs, etc. However, it appears as though GetAsCSS() completely ignores them. However, I know GetAsCSS() sees them, because when I tried to Substitute() them with an html entity, the text becomes full of "&tab;" or "  ..." or whatever. Does anyone have any solutions about how to handle this? I haven't been able to find anything. Any ideas are appreciated.
  4. I don't even know where to begin.  I have a db...In every layout for every table—in spite of the fact that their parts all have a white fill—the background turns red in preview mode. I'm using 12, so if I change the theme, this doesn't happen, but if I change the theme back to classic, I get the red background again. I put white rectangles covering the layout parts and that helps; except at the part boundaries, you can still see red and there's nothing you can do about it.  Any ideas where to being troubleshooting? I found out that if I remove the white background fill, the default color is red...in classic...So what that seems to mean, then, is that in preview mode, my white background is being stripped away. The clumsy solution was to select a new theme, turn everything white, remove the alternating body fill, and copy the layout objects onto this new layout. But I want this red background thing to make sense to me!  So thanks for any ideas at all.
  5. Well, because I didn't know about the List() fcn. That's a much more elegant approach! And yes, they're really records; the records correspond to application files, hence the slip. And I mean, since there are actually ≤12 comments (with two groups of three, which are the ones I was trying to work with here) * ≤3 reviewers for every record, I need to have a portal big enough to accomodate all that, so the portal takes up most of a page. I want a record (corresp. to an application + all its comments) to span no more than a page, hence my need to condense all the comments. I hope that makes more sense now and thanks for the suggestion! :thumbup:
  6. Thanks! I can work with that! A bunch of people submitted a bunch of comments for a bunch of files. I have a layout that has to fit that info and more on a page in a portal. I could save space if I had just one big text box for the longest comments rather than three big ones with a lot of white space in between.
  7. So this is kind of simple, but I can't make it work: I have three fields that I want to be filled according to number of characters: field 1 gets the largest number of characters and field 3 gets the smallest. I have a script that works for fields 1 and 3, but the middle-value field won't work. To fill fields 1 and 3, I'm saying If [Length ( db::sourceField2 ) > Length ( db::sourceField1 ) and Length ( db::sourceField3 )] Set Field [db::fieldText1; db::sourceField2] Else If [Length ( db::sourceField3 ) > Length ( db::sourceField1 ) and Length ( db::sourceField2 )] Set Field [db::fieldText1; db::sourceField3] Else Set Field [db::fieldText1; db::sourceField1] End If To fill field 2, I can see that I need to choose either the middle length or the source field that hasn't been used yet. But FM doesn't seem to like long expressions of greater thans and less thans (e.g. I tried, if length(sourceField1 ) > length(sourceField2 ) > length(sourceField3 ), If [Length ( db::sourceField1 ) > Length (db::sourceField2 ) and Length ( sourceField2 ) > Length ( sourceField3 ) and I also tried If [Length ( sourceField1 ) > Length ( sourceField2 ) and Length ( sourceField3 ) and Length ( sourceField3 ) < Length ( sourceField1 ) and Length (sourceField2 ) to no avail) and I can't think of a way that works to choose the unused source field. Variables? My idea of If [db::fieldText1 = db::sourceField1 (x)or db::sourceField2 and db::fieldText3 = db::sourceField2 (x)or db::sourceField1] Set Field [db::fieldText2; db::sourceField3] Else If ~ Else Set Field [db::fieldText2; db::sourceField2] End If didn't work. Oddly enough, either of the two above approaches fills the middle field with the smallest-length field. I've been spinning my wheels, so I hoped someone would see a clear solution. Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.