Thanks for the replies.. but I am still stuck with this.
Zipping the file:
The excel file is being generated just at that time from the database. I have no idea on how to zip it on the fly.
Using content-type & header information to force-download:
Tried this, but the excel files can be as...
Is it possible to disable selected items in the context menu that appears when you right click (on a link, say?)
Here is my problem:
I am generating huge reports on my web app. and then showing a link to them on the browser. No matter how many times we tell the users, and put in messages, they...
I have a CFMX (Updater 2), IIS 5.0 on Win 2k running a rather heavy load web app.
After installing the latest Microsoft patches
(see http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/MS03-007.asp and...
I am using HTML2Excel custom tag to export reports into .xls format. This was working fine in CF4.5 and 5.0 We are upgrading to MX soon and this particular script:
objWorkSheet.SaveAs("excelfile.xls",Val(1));
throws a coldfusion.runtime.java.MethodSelectionException: Method selection...
Im assuming that you just want to transfer all rows from List1 to List2. If you want to transfer only selected rows, include a WHERE condition in the first query. If this is not what you want, get back with a little more explanation of what exactly you wish to do.
<cfquery...
There is no such limitation, as far as I know. Could you please put in the query you are running.. maybe we can help you better.
For more info on subqueries, open SQL Server Books Online and search for "subqueries".
Well, you could do this :
SELECT *
FROM tblClaim
WHERE Column1 LIKE '%srchvalue%'
OR Column2 LIKE '%srchvalue%'
OR Column3 LIKE '%srchvalue%'
...
I doubt if there is any other easy option other than hard coding all column names there. Make sure you include only character columns...
This also depends on a particular Registry setting on the client's machine under the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8
check out this url : http://support.microsoft.com/default.aspx?scid=kb;EN-US;q162059
But since you will have no control over the client machine's registry...
No, it is not possible using client side JavaScripting. The Access file that you are mentioning will be residing in the server. The JavaScript itself gets executed on the client side (i.e. the browser). So, it has no means to get to the Access file on the server.
Server side scripting - is...
supposing your HTML looks like this:
<SELECT NAME="name">
<OPTION VALUE="value1">value1
<OPTION VALUE="value2">value2
...
</SELECT>
try putting this object into the text box - document.forms[0].name.options[document.forms[0].name.selectedIndex].value
Consider the table myTable with 1 column myDateCol..
SELECT *
FROM myTable
WHERE myDateCol = (SELECT DISTINCT TOP 1 myDateCol
FROM myTable
ORDER BY myDateCol DESC)
This query will give you the records which have the latest date in myDateCol.
Hope this...
You havent mentioned what version of CF you are using. Cold Fusion 5 gives functionality to create dynamic ODBC connections using something like this :
<CFQUERY
DBTYPE="dynamic"
CONNECTSTRING="DRIVER=Microsoft Access Driver (*.mdb)...
Check out this page : http://javascript.internet.com/forms/block-key-press.html
Another solution is to change the event key code, so that the application is duped.
Hope it helps.
I dont think there is any way in which you can prevent user's from seeing the JavaScript code as of now. Even if you put it in a seperate .js file, the user can look up the path/name of the file, download the file and look at your code. Just that its a little more difficult than putting the...
I dont think you can do this with Client Side Javascripting. What is the server side scripting that you use ? It should be possible using it.
In case your page is in some free hosts like Geocities where there is no server side scripting, then as far as I know, you cannot do this.
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.