Jump to content

Douglas Cogan

Administrators
  • Posts

    241
  • Joined

  • Days Won

    4

Everything posted by Douglas Cogan

  1. Hi Stacey, can you show us the code that works when it is empty and we can show you what to change to make it suppress when it is not? Or else, can you let us know what field indicates the contents of the graphic frame? Then we can provide code that matches your real data rather than me making up something that might not make sense.
  2. Yes, replace this line: retstr += Field ("issue_date"+i)+"<t><t>"+Field("check_number"+i)+"<t><t>"+Field("check_amount"+i)+"<br>" with this: retstr += Field ("issue_date"+i)+"<t><t>"+Field("check_number"+i)+"<t><t>"+FormatNumber("$###,###.00", Field("check_amount"+i))+"<br>"; That will put in leading dollar signs, commas at the thousands place and force two zeros after the decimal.
  3. Hi, the issue is that the <br> tag makes a new line in the same paragraph. Skip if empty only skips the whole paragraph, so it won't skip just a line. But I think you want this: var retstr=""; for (i=1;i<=11;i++) { if (Len(Trim(Field("issue_date"+i))) > 0 && Len(Trim(Field("check_number"+i))) > 0 && Len(Trim(Field("check_amount"+i))) > 0) retstr += Field ("issue_date"+i)+"<t><t>"+Field("check_number"+i)+"<t><t>"+Field("check_amount"+i)+"<br>" } return retstr; I think that will work. I can't test this since I don't have your fields, and hopefully the parentheses match up. This will skip if any of issue_date or check_number or check_amount are empty. If you only want to skip if all of them are empty change the && to || above.
  4. Hi, you can move a character up with the superscript tag. You could make a JS rule called bullet like this: return "<span><superscript><f name=wingdings>&#000;</span>"; // replace 000 with the character number you want The span tag saves the current font and point size (and superscript) and /span restores them back. You can also control how much the superscript tag moves text up by accessing the global settings (from the paragraph options dialog from the variable text editor.)
  5. Hi Rick, sorry that didn't work. I did see a typo where I put .textWrap twice in my note above. I don't quite know what you mean that it doesn't work with a graphic frame wrap. What can we use to determine if the graphic frame would be empty? That's what I was putting in the "if" statement above. What data values can we test to determine the frame would end up empty? We just need to put that in the if clause of the expression in OnRecordStart and we're set.
  6. Hi Rick, you mean, don't wrap text around a picture if the graphic frame is empty, right? To do this, first give the text frame a name such as "TheTextFrame" in the frame properties dialog box. Then make a new OnRecordStart rule (or add to one if you have one.) if (Len(Field("TheGraphic")) == 0) { TextFrame = FindTextFrame("TheTextFrame"); TextFrame.textWrap.textWrap =false; } Replace "TheGraphic" with the name of the field that if empty triggers the text to not wrap. Let me know if this works.
  7. Hello Sophia, OnRecordStart in regards to FusionPro is a rule that is executed at the beginning of each new record. It is a rule that is called when certain events happen, like when a all the pages are complete after being inserted. What you wrote above may be correct in other contexts, but in regards to FusionPro it is a rule that is executed after each new record of data has been read from the data source and before any other processing is done. FusionPro doesn't do any recording of any data. I hope that clears things up a bit.
  8. Does the output message log say that the font was replaced? Could you send the msg log and the fonts.ini file to FP Support?
  9. Make sure the Suppress Static PDF Background is not checked in the graphics tab of the composition options dialog:
  10. Hello Tisha, you must have a Designer license. Designer comes with FP Server or Producer (or with a subscription service like MarcomCentral portal.) Did your company perhaps upgrade a set of Creator licenses to a Producer license? In that case, you would compose locally to just one record to approve your design, and send to Producer or Server for composition. If you want, you can email your serial number and company name to FusionProSupport@marcom.com and we can check it and see what the status is.
  11. The version 13 User Guides can be found here: Version 13 Acrobat Plug-in User Guide Version 13 Tags Reference Guide Version 13 Rules System Guide
  12. There were lots of issues with email and joining the forum in the past. Thank you for your patience. We have updated the forum and it should be working much better now. If you still have issues, please let us know.
  13. Many customers have reached out about getting template building assistance. If you are available, please post your information.
×
×
  • Create New...