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. mdtimo

    Dynamically assign default value for a parameter

    The list of dates comes from a table in the database. The first of every month will always be in this table. My hope is that the user won't have to scroll through many dates to find the date when in most cases the date they want is the first of the current month. I want them to have the...
  2. mdtimo

    Dynamically assign default value for a parameter

    The first two suggestion don't seem to impact the drop down list at all. The default value for the drop down is not impacted. My parameter has an associated list of dates that the user sees in a drop downlist. I want the user to pick from this list of dates. But I want the default value for...
  3. mdtimo

    Dynamically assign default value for a parameter

    Can you dynamically set the default value for a parameter. I have a list of dates (the first date of the month going back to 1980) that I want the user to select from and I want the default value to be the first day of the current month. Now I have to change the report each month to the...
  4. mdtimo

    Multiple Value Parameters with wildcards

    lbass's technique worked. Using the multi select parameter in the select criteria did not work.
  5. mdtimo

    Multiple Value Parameters with wildcards

    I have a multiple value parameter that I want use to with wildcards to select records to pull up client names For example If the user enters General and Ford it will pull up General Motors and Ford Motor Company. I can't seem to place a multi value parameter in the "is like" part of the...
  6. mdtimo

    Start Date

    That works!!! Thanks.
  7. mdtimo

    Start Date

    I have a salary table that has a record for every person for every payrun. Even if your salary never changes a new record is posted to this table each payrun with the effective date of that payroll I want to return the records from this table so that just one record per salary per person with...
  8. mdtimo

    SED remove extraneous carriage returns

    Thanks. It worked without the \r. It took a 3500 line text file and removed the extraneous hard returns in seconds. Thanks.
  9. mdtimo

    SED remove extraneous carriage returns

    I found a construct that doesn't have the same problem with backslashes and doesn't error out. Below is the script I have. $infile = "/elite/custom/ebill/micron/MyFilesmallx.txt" ; $outfile = "/elite/custom/ebill/micron/MyOutPutFile.txt" ; open(INFILE, "< $infile") ; open(OUTFILE, ">...
  10. mdtimo

    SED remove extraneous carriage returns

    I am using MKS toolkit version 8.6. I mistated on what I wanted the script to do. I have a file that looks like this. abcde fghij[] klmnopqrst uvw[] xyz[] I want it to look like this: abcdefghij[] klmnopqrstuvw[] xyz[] When I attempt to run your perl script I get the following: Bareword...
  11. mdtimo

    SED remove extraneous carriage returns

    Where in the perl script do I define the input and output files. When I try to run that script I get the message aborted due to compilation errors. I am not even sure I am running the script correctly. I'd prefer to use sed because I know how to get it to execute.
  12. mdtimo

    SED remove extraneous carriage returns

    I am attempting to remove all carriage returns from a file when the carriage return is not proceeded by []. My attempt below failed when trying to create Myfile2, it returned the message input line too long. It works on a smaller file. tr -d '\r\n' < D:\elite\custom\ebill\Micron\Myfile.txt >...
  13. mdtimo

    Replace in a Memo Field

    Using the replace in the stored procedure worked like a charm.
  14. mdtimo

    Replace in a Memo Field

    For whatever reason SQL expression is not available. Could it because the data is in a stored procedure, or could it because this is a subreport? I see SQL expressions as a choice in other reports.
  15. mdtimo

    Replace in a Memo Field

    I have a memo field that displays serval lines worth of data, hard returns are identified as the character &quot;`&quot;, with similar fields I had used a formula to replace &quot;`&quot; with chr(13) but this formula won't work on this memo field. I am using CR 8.5 and know this works on 9.0...
  16. mdtimo

    Replace Character with a hard return

    My data looks something like this Patent Application No: 09/342,233`Light Creating Diode`Inventor name: Joe Smith' Application Date : January 2003` Reference No. : 205802 I want to display the same data but with a hard return wehre there is a &quot;`&quot; I used the formula and only the...
  17. mdtimo

    Replace Character with a hard return

    I have data in a table that allows for hard returns but represents them with a &quot;`&quot; sign. I can't seem to do a replace so that every &quot;`&quot; is turned into a hard return. Any ideas on how to do this?
  18. mdtimo

    Fixed Width Text File

    I used the same logic that you refered to in my report but instead of displaying data in the first space of each line it has a blank space then the data. It is happening on both 8.0 and 8.5. For example _08122003 with the underscore representing a blank space. It should display 08122003
  19. mdtimo

    Fixed Width Text File

    I'll add a little more detail. If I have a report with just one text box and this column is on the far left of the report and then I export it to a text file it adds a single space to the left of the text file. Any ideas?
  20. mdtimo

    Fixed Width Text File

    I have a report that I export to a fixed width text file. For years it worked fine and then today it started to add a blank space before it displayed the data in the report. Any ideas on what could have caused this? We didn't change versions of Crystal and notepad is the same version as well.

Part and Inventory Search

Back
Top