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) ||...
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...
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...
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="attributes.filename"...
Hi all,
I'm having trouble using the CFFILE action="APPEND" 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...
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?
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...
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...
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...
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...
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...
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
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++){...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.