Jump to content

Marcus

Registered Users - Approved
  • Posts

    6
  • Joined

Converted

  • FusionPro Products
    No

Marcus's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

10

Reputation

  1. When using some fonts or barcodes there is a difference between the way it previews and the way the out put looks. The output's height is expanded more than the preview. Just wondering if there is a fix for this or if I might have a setting that is wrong. Any suggestions?
  2. I am using a flat data file that has four coupons in it. Each coupon has different value(s) for their start dates... and other jobs could have different coupons in each position. I just thought it would be easier to try and figure this out with just the values and then use it with everything else. I wanted code that would allow me to use only one resource which could be used in any position and pull the corresponding values from the file depending upon that position. I like the later code you posted, it works for me. Excuse my code, I am very unfamiliar with JavaScript, but trying to learn it. Any suggestions for rapid learning JavaScrpit code for FusionPro? Thank you for your help!
  3. This was the code that I ended up with. var r = [ [Field("N_VAR_1")],[Field("N_VAR_1__2")],[Field("N_VAR_1__3")],[Field("N_VAR_1__4")] ]; var x = FusionPro.Composition.CurrentFlow.name return r[x];
  4. Thanks very much for your help. I went about it a different way, but without your code I wouldn't have gotten it so soon if every. Thanks, again. Marcus
  5. Help! I have a coupon resource that I need to change values depending on which text box is active. I wanted to have all text boxes using the same resource but changing the value of <<MyVar1>> with a rule that works by the flow of the text boxes, which I can seem to figure out. Any suggestions?
  6. I am trying to only have one coupon (resource), which can be used in 4 different positions, that uses a var1 that has different values depending on which text box is to be used. I am a not very experienced with Java, but here is what I have so far. I feel like I need some sort of way to determine which text box is to be used. if (Field("COUPON_COD") == "C1") { return("MyVar1", Field("N_VAR_1")); } if (Field("COUPON_CO2") == "C1") { return("MyVar1", Field("N_VAR_1__2")); } if (Field("COUPON_CO3") == "C1") { return("MyVar1", Field("N_VAR_1__3")); } if (Field("COUPON_CO4") == "C1") { return("MyVar1", Field("N_VAR_1__4")); } Thanks, Marcus
×
×
  • Create New...