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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mrshardee2

  1. mrshardee2

    Formula error: the ) is missing

    Are you using Basic or Crystal Syntax? Amber [peace]
  2. mrshardee2

    Printing Selection Criteria on a report.

    I tried this: whileprintingrecords; stringvar names; if instr(names,{psmresindstaff.res_abbr}) = 0 then names := names + {psmresindstaff.res_abbr} + ", " else names := names; left(names,len(names)-2); I'm only getting the first practitioner. Amber [peace]
  3. mrshardee2

    Printing Selection Criteria on a report.

    OK, now that I've got that working - One more question: How do I link that parameter to a data field? For example, my parameter is pulling all practitioner IDs, but I want to list the practitioner name in the footer. I have the two tables linked, but when I try to pull the paractname into...
  4. mrshardee2

    Printing Selection Criteria on a report.

    OK, I think I figured out what my problem is. My parameter was formatted to allow discrete AND range values. Once I took the 'Range' option off, I quit getting errors! [2thumbsup] Amber [peace]
  5. mrshardee2

    Printing Selection Criteria on a report.

    This is my coding: whileprintingrecords; stringvar parm; numbervar counter; numbervar i := ubound({?practid}); for counter := 1 to i do( parm := parm + totext({?practid}[counter],0,"") + ", "); left(parm, len(parm)-2); ---------------------------------------------------- I get the error "A...
  6. mrshardee2

    Printing Selection Criteria on a report.

    I have tried using both Crystal and Basic Syntax, but I get errors with both. Amber [peace]
  7. mrshardee2

    Printing Selection Criteria on a report.

    After WhilePrintingRecords, I get the error "A statement is expected here". Amber [peace]
  8. mrshardee2

    Printing Selection Criteria on a report.

    When I put the semicolon after WhilePrintingRecords, I get the error "The remaining text does not appear to be part of the formula" at the semicolon. Amber [peace]
  9. mrshardee2

    I keep gettin prompted for username and id

    Try This: From the Crystal menu, go to Database/Set Location. In the “Databases” box, highlight each table and remove the ODBC name and “dbo” (or other user name) from the table name found in the “Table:” text box (i.e. hsmprod.dbo.casemain becomes casemain) Amber [peace]
  10. mrshardee2

    Printing Selection Criteria on a report.

    I should have been more clear - the error is pointing to the end of line 1. Amber [peace]
  11. mrshardee2

    Printing Selection Criteria on a report.

    I tried that coding (my parameter is a number), but I get the error "The remaining text does not appear to be part of the formula". ???????????????????????????????????????? Amber [peace]
  12. mrshardee2

    Printing Selection Criteria on a report.

    OK, I tried this: WhilePrintingRecords: shared x as string: dim i as number: i = 1: for i = 1 to count({?practid}) x = x + {?practid}(i) + ", ": Next I get the error "A string is required here" for my parameter in line 6. I tried to change it to text: WhilePrintingRecords: shared x...
  13. mrshardee2

    Printing Selection Criteria on a report.

    I have a report in Crystal 8.5 that shows Anesthesia Types selected by Anesthesiologist, OR Suite, Patient Type, etc. I would like to show in the footer of the report the criteria that the user selects to print the report. The only parameter that I can get to print on the report is the...
  14. mrshardee2

    Transaction Log grown around 6G in my disk

    Try going into Query Analyzer and running: BACKUP LOG <database> WITH TRUNCATE_ONLY Then go into enterprise manager, look at your database in TaskPad view. At the bottom, there is a section titled "Space Allocated". Hover over the arrow beside the title and a menu will appear. Click on...

Part and Inventory Search

Back
Top