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 TouchToneTommy 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. AndyMc

    Select Statement If survey both an Initial and Termination Survey

    If you put into the 'Report / Selection Formulas / Record' the formula: {yourTable.yourSurveyField} in ["initial","termination"] this will only allow those two type of surveys into your report.
  2. AndyMc

    Formula to Determine if a String Value is Even or Odd

    if Remainder(val(MID({Sheet1_.bin_num},5,2)),2) = 0 then "Even" else "Odd
  3. AndyMc

    Previous() Method, Check if 1st iteration

    There is a function called: OnFirstRecord So formula would be something like: If OnFirstRecord or {table.xyz} = previous({table.xyz}) then ...
  4. AndyMc

    formula for email document table field

    These look like Sage100 tables. Keep in mind that the table SO_InvoiceWrk is an empty table and only gets populated during invoice processing, then empties out again.
  5. AndyMc

    buttons not opening up windows

    I have had this happen. The screens are opening off-screen or onto a mythical second screeen. Here is something from our Ken Hamady: https://kenhamady.com/cru/archives/2491 -Andy
  6. AndyMc

    Median number in crystal formulas

    kray, The 'mean' would be the average of the three values. The 'median' is the middle value'. -Andy
  7. AndyMc

    Hello, Need your help converting

    I have an extra int() function that's not needed. so ...: To get duration HH:MM (assuming this all happens on the same day): numbervar mns := {yourTimein}-{yourTimeOut}; totext(int(mns/60),0,"") & ":" & right("0"&totext(mns mod 60,0,""),2)
  8. AndyMc

    Hello, Need your help converting

    To get Time Out use this formula: numbervar hr := int({yourTimeOut}/60); numbervar mn := {yourTimeOut} mod 60; time(hr,mn,00) To get Time In use this formula: numbervar hr := int({yourTimeIn}/60); numbervar mn := {yourTimein} mod 60; time(hr,mn,00) To get duration HH:MM (assuming this all...
  9. AndyMc

    Crystal Report got Error: The ) is missing after upgrade

    I think it might be the HASVALUE() function. That function might not exist in your version of Crystal (it doesn't in mine). You can probably change it over in some way by using the isnull() function. Maybe: not(isnull({?Pm-?Reporting Time Frame})) -Andy
  10. AndyMc

    Current Date = Last day of the month?

    pmax's formula will work unless it is December. If you change the function from date() to dateserial(), it understands that month 12 + 1 is actually January of the next year and then when you subtract one day it know it is the previuos year again (great function)...
  11. AndyMc

    Current Date = Last day of the month?

    A formula for returning the last day of the month is: dateserial(current_year_value,current_month_value+1,1-1) (the first day of next month minus one day) -Andy
  12. AndyMc

    Print second report after first report finish

    One way is to bring the second report in as an unlinked subreport on the first report - put that subreport in the Report Footer (of the first).
  13. AndyMc

    Filter a record

    One way - In your Selection Criteria, add: instr(ucase({yourField}),"L") = 0
  14. AndyMc

    Formula to take into Account Working Hours and Weekends

    Here are links to Ken Hamady's formula's for Work Days and Work Hours that Linda is referring to: http://www.kenhamady.com/formulas/form01.shtml http://www.kenhamady.com/formulas/form13.shtml
  15. AndyMc

    Windows7: Version: CRXI / Experienc

    Using the Crystal SOUNDEX function that Pete suggested would have treated all of your Weapon spellings ("WEAPON" "WAEPON" and "WEAPN") (also "Wepin","Wepon","Weapom","Wepom",...) as Weapon. They all have a soundex value of W150 If SOUNDEX({yourParameter}) = SOUNDEX("WEAPON") then "W"; -Andy
  16. AndyMc

    Converting seconds to Hours, minuters,seconds

    I think this is the FAQ that lbass recommended that wrburch used: faq767-3543
  17. AndyMc

    Crystal Report - Group Footer with multiple col

    I looks like it is: thread149-1039223
  18. AndyMc

    Calculating Days in a month based on Current Date

    If you want that Excel ability to understand dates, use DateSerial() function instead of Date(). That function knows that month 12 plus 1 equals January and automatically know the year is one month later too.
  19. AndyMc

    Display Second Fastest Truck

    Pete's 'Group Selection' formula would exclude (it would not display) the fastest truck from the sorted list of trucks.
  20. AndyMc

    edit/new options disappeared???

    Staceyn, Another place to look is in your report, see if under File / Report Options / on the right-hand side you have "Read Only" checked. -Andy

Part and Inventory Search

Back
Top