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

    Disable items in right-click context menu?

    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...
  2. gana78

    Disable items in right-click context menu?

    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...
  3. gana78

    CFMX / IIS 5.0 / Win 2000 - problems after installing latest IIS Patch

    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...
  4. gana78

    ColdFusionMX - Exporting to MS-Excel - Exception

    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...
  5. gana78

    Editing HTML dynamically with Javascript

    There are many HTML editors CoffeeCup / MS Front Page etc. Foll. sites feature some of them : http://www.coffeecup.com/editor/ http://www.evrsoft.com/
  6. gana78

    Direct data insert across two DSNs

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

    ORDER BY and TOP in a subquery

    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 &quot;subqueries&quot;.
  8. gana78

    SQL Query

    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...
  9. gana78

    showing word document in a frame

    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...
  10. gana78

    more help on drop down menus!

    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...
  11. gana78

    Drop down lists

    supposing your HTML looks like this: <SELECT NAME=&quot;name&quot;> <OPTION VALUE=&quot;value1&quot;>value1 <OPTION VALUE=&quot;value2&quot;>value2 ... </SELECT> try putting this object into the text box - document.forms[0].name.options[document.forms[0].name.selectedIndex].value
  12. gana78

    Age between 19 and 24

    SELECT [list of fields...], CASE WHEN (Age < 24 AND Age > 19) THEN 'Yes' ELSE 'No' END AS 'Student' FROM .....
  13. gana78

    how to get latest date data set!

    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...
  14. gana78

    Create ODBC connection from CF dynamically

    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=&quot;dynamic&quot; CONNECTSTRING=&quot;DRIVER=Microsoft Access Driver (*.mdb)...
  15. gana78

    stopping a key from being pressed

    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.
  16. gana78

    user logging and Password Protection external .js

    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...
  17. gana78

    How do i obtain the last modified date of an SQL table

    We have a field called &quot;LastUpdated&quot; of type DATETIME and keep updating it every time the row is updated.
  18. gana78

    &quot;Return&quot; help

    change the function to look like this : function runAll() { return emailCheck(document.info.email.value); }
  19. gana78

    Inserting Spaces in strings

    Try this code, havent tested it out though. alter myInterval as needed. Hope this helps :) <CFSET myString = &quot;rsdeltagammaalpha&quot;> <CFSET mySpace = &quot; &quot;> <CFSET myInterval = 5> <CFSET myNum = Len(myString) MOD myInterval> <CFLOOP INDEX=&quot;i&quot; FROM=&quot;1&quot...
  20. gana78

    Files in a Directory

    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.

Part and Inventory Search

Back
Top