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 strongm 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. sbroomfield

    How do I replace a value in a string?

    ED, I've tried your methods: replace(Old_INST,","," "), and: replace(Old_INST,char(2),","), and I get Incorrect syntax near the keyword 'replace'. ??
  2. sbroomfield

    How do I replace a value in a string?

    Greg, Running Sybase on UNIX. :-) Thanks, Steve
  3. sbroomfield

    How do I replace a value in a string?

    Hi, I have some SQL that I run to create output to a csv file. This is mailed out to my users and when they open the file it opens in Excel. This is all very good, but two of the columns contain strings that may include commas at any point in the string. This obviously buggers up the output! I...
  4. sbroomfield

    How do I replace a value in a string?

    Hi, I have some SQL that I run to create output to a csv file. This is mailed out to my users and when they open the file it opens in Excel. This is all very good, but two of the columns contain strings that may include commas at any point in the string. This obviously buggers up the output! I...
  5. sbroomfield

    Trying to open an MSWorks .wks file in Excel - Can it be done?

    Simon, Thanks for that - the problem is that I'm trying to open this file at work and don't have access to the installation package. I guess I'll have to see if I can get the file resent in a different format. Thanks anyway. Steve.
  6. sbroomfield

    Trying to open an MSWorks .wks file in Excel - Can it be done?

    Hi guys, I have been sent a .wks file and only have Office - not Works. Is there any way I can open this file in Excel? When I try I get a "file is not in a recognisable format" message. Thanks, :-) Steve.
  7. sbroomfield

    Excel - using COUNTIF to find a value in a string?

    Thanks for all your help, guys. The VBA code worked in the end.
  8. sbroomfield

    Excel - using COUNTIF to find a value in a string?

    I've tried that and I get a #NAME? error. Any ideas?
  9. sbroomfield

    Excel - using COUNTIF to find a value in a string?

    Thanks - I'll try that. :-)
  10. sbroomfield

    Excel - using COUNTIF to find a value in a string?

    I have a table which has single values ('A', 'B', 'C', etc) in each cell. To summarise each row I have a formula like: =COUNTIF(C7:AF7,"P"). This gives me all the occurrences of P in that row. I have now had to change the table so that it includes more than one value in a cell ('AFH'...
  11. sbroomfield

    SORT filename ¦ UNIQ is not working for me

    Mike, Thanks for that. Yes the -u does work - syntax, for what I'm doing,being: sort -u inputfile.txt -o outputfile.txt This is a lot simpler. :-)
  12. sbroomfield

    SORT filename ¦ UNIQ is not working for me

    Apologies - the other duplicates weren't eliminated. Having looked in MAN I have found what I wanted. UNIQ -d displays the duplicated lines, UNIQ -u displays the unduplicated lines - and without a switch UNIQ displays all unduplicated lines plus a singular entry of the duplicated line. Sorry -...
  13. sbroomfield

    SORT filename ¦ UNIQ is not working for me

    Can anybody help me? I have a large file that I am going to bcp to a database. To ensure that the file loads correctly I need to ensure that each entry is unique. I have run: sort inputfile.txt | uniq but the 1st 2 lines of the file will not become one. Other duplicates have been eliminated. The...

Part and Inventory Search

Back
Top