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 SkipVought 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: *

  • Users: tanny
  • Order by date
  1. tanny

    Object expected error

    Got the answer! Javascript is SO case sensitive. Should've been if not If!
  2. tanny

    Object expected error

    Hi guys, I'm getting an Object expected error on the line I've marked in bold in the following code: function checkiftoobig(){ var hasbasedata; var hasothercriteria; var valuetoreturn; If ((document.Enquiryform.matrlcod.selectedIndex > 0) || (document.Enquiryform.surfcod.selectedIndex > 0) ||...
  3. tanny

    Import txt file loses records

    Hi, Hope somebody can help here! I am getting a Win NT server to pipe a directory listing to a text file. Then I get either a Win 98 or Windows ME machine to import this file into a table (using a filespec that only grabs the file name). What is odd is that some of the entries in the text...
  4. tanny

    cffile and append

    Ooops, That query says ORDER BY assetnum, levelnum but levelnum is not showing in the SELECT list. That's because I've chopped out a whole heap of boring stuff from the query as well as the dataline processing. As I've said, if I run that query inside Oracle using the assetnum I've passed in...
  5. tanny

    cffile and append

    Thanks for your interest John, I use pretty modular code so I'll do my best to show you how I've done it. But to give you a short answer, this gets fired off during a cfoutput. Anyway here goes: <cfparam name=&quot;attributes.filename&quot...
  6. tanny

    cffile and append

    Hi all, I'm having trouble using the CFFILE action=&quot;APPEND&quot; tag. I run a query that outputs a whole heap of records which are destined to be placed into a csv file. I create the file with the appropriate headings. This is not a problem. The problem arises when I get into the cfoutput...
  7. tanny

    Macro within Code.. Waiting until Complete

    Hello everyone, I was just wondering whether rewriting the text import worked? You see, I have an import spec that doesn't work when run from inside VBA. I does work if I run it as a macro. Weird eh?
  8. tanny

    CFCONTENT and refresh on back button

    Hi, I know I'm starting to sound like a broken record about this tag, but its intricacies are endless! I'm using CFContent (with a cfheader as suggested) to grab an image file (that I want to keep safely hidden from the webserver) and then display it in my page. This image is used as the...
  9. tanny

    Rogue semicolon causing js error in IE5.5 with dynamic selects

    Fix... Hi all. Just an update to this. The compiler always shows the error as on the line above the line where there is a real error. So the culprit in this case was the line declaring var option + j etc etc. I rewrote the script to make sure I only declared a variable once and it worked...
  10. tanny

    Authentification

    GunJack, Do you need to read the file in with <cffile> or can you simply go straight for the <cfoutput>? If you must have a <cffile> (and the input is an image), how do you tell cf to use the <cfoutput> the image? I've tried, but it says it needs a string as a filename for <cfoutput>. Hope...
  11. tanny

    cfcontent - how many times on one page?

    First up GunJack, thankyou so much for replying so quickly. Now, your advice is sound and I'm going to try it, but I should let you know what I'm trying to do. Initially I was pointing directly to the url for the img src. However, the users have decreed their images to be in need of security...
  12. tanny

    cfcontent - how many times on one page?

    Has anybody tried to use cfcontent more than once on a page? I am trying to show a number of thumbnail jpg's (about 10). Filepaths for these thumbnails are retrieved from a database via a query which is used in a cfloop. I set a session variable with the filename in the loop, then go off to...
  13. tanny

    Export data from ColdFusion (or SQL) to Excel

    Maybe you could get the Excel spreadsheet to use ODBC to look up the SQL database directly?
  14. tanny

    Rogue semicolon causing js error in IE5.5 with dynamic selects

    Hi Paul, Thanks for your post. I put semicolons against all of the statements, but no luck. Still falls over at that same line with the same error message. Have even tried taking all of the semicolons off, but same message comes up. What is it with Javascript and semicolons! :-)) Tania
  15. tanny

    Rogue semicolon causing js error in IE5.5 with dynamic selects

    Hi, This is the code (in its entirety) that I'm running function tdarray(texttext, valuetext){ this.texttext = texttext; this.valuetext = valuetext } function ChangetdTo(strpfid){ var copyofarray; var tdtypes=new Array(tdarray); for (i=0;i < document.setfilters.td.length - 1;i++){...

Part and Inventory Search

Back
Top