Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bettyc

    Need to calculate a numeric value from alternating positions in a stri

    Sorry I was not too clear. The string I provided was one of three strings that I need to calculate at the group footer. Thanks. ~betty
  2. bettyc

    Need to calculate a numeric value from alternating positions in a stri

    I figured out which variable to reset and it works! I (and my predessesor) have been trying to make this work in Crystal for a while now (well she had, I just started last week). I am absolutely a beginner when it comes to programming. She was able to create the formula in access but my...
  3. bettyc

    Need to calculate a numeric value from alternating positions in a stri

    That was great, however, it only worked for the first record. It is part of a group footer and I need it to reset. How do I do that? This is a formula used by banks for the "Check Digit" on a scan line for payment coupons. You know, the stubs that you send checks in with? This check digit...
  4. bettyc

    Need to calculate a numeric value from alternating positions in a stri

    Yes and yes... The result of the sample shown is 81. If you want more fun - the final part of this equation is to take the single digit from the result (the 1 - in the ones column) and deduct that from 10. This would give me a "final" result of 9.
  5. bettyc

    Need to calculate a numeric value from alternating positions in a stri

    Thanks for the prompt response LB. I still have a problem since I also need the following: if the value of y > 9 then the calculation needs to be 10-y + 1. (All the digits are added as ones) I tried to modify your formula but it's not working. Thanks again... Betty
  6. bettyc

    Need to calculate a numeric value from alternating positions in a stri

    Is there an easy way to perform the following calculation? String value = "921030022447967916" a) Each alternating character is multiplied by 2 or 1 (i.e. 9*2, 2*1, 1*2...) b) All digits are then summed: 9*2=18 or 1+8 + 2*1 or 2 + 1*2 or 2...) I am new to this website and any help with...
  7. bettyc

    Java Applet / Dialog Box Cut Off

    wushutwist, I tried changing the size of the Applet window before I posted my question (sorry I didn't think to include it), but it does not resolve the problem. I didn't word my question very well either. Let me elaborate. The Input dialog box itself is not cut off, and the size does not...
  8. bettyc

    Java Applet / Dialog Box Cut Off

    I am attempting to convert a Java application to an Applet. I have dialog boxes (via JOptionPane.showInputDialog) that get input from the user. The dialog boxes look fine in the Java app, but in the Applet they get cut off (i.e. the OK and CANCEL buttons are partly chopped and also some of my...

Part and Inventory Search

Back
Top