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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by newbby

  1. newbby

    custom tag

    All, Anyone have any ideas to wrapping a custom tag on a javascript event handler. Using CF 6. eg: If I click on a link/image, the onclick event would trigger the custom tag to fire. If the link is not clicked the custom tag is not triggered. Thanks
  2. newbby

    multi line commenting

    All, How can I achieve a multi line commenting in XML. I am aware in XML single line comments start with, <!-- my comments --> I want to know how to achieve a multi line comments <!-- first line comment second line comment Third line comment -->. Thanks
  3. newbby

    validate

    Hi, I have a table containing information of URL's. Before outputting the same through a .cfm file, Is there a way to check if these URL's are valid and donot return any 'page not found' or '404 errors'. My goal is to output only those URLs that donot result in any errors. Thanks
  4. newbby

    XML

    I want to display the document in the web page.
  5. newbby

    XML

    Hi, I have a well formed and valid XML doc. Can anyone guide me to output the same using CF. I am using CF 6.0 and MX dreamweaver 7/8. eg: <employees> <employee ID="12345"> <firstname>FName1</firstname> <lastname>LName1</lastname> <dept>DEPTID1</dept> </employee> <employee ID="67890">...
  6. newbby

    World time zone

    All, Can anyone point me where I can get a table that provides me with the information on countries and their time offset from Greenwich time. This should also take care of the daylight savings time. Thanks
  7. newbby

    Duplicate array values

    All, I have a single dimension array, populated with first name from a query. How can I make sure that there are no duplicates in the array.(retain one value and discard duplicates). <cfset myArray = ArrayNew(1)> <cfset myArray= #qry.FirstName#> <cfoutput> <cfloop from="1"...
  8. newbby

    Capture User information

    Hello, Is there a way to capture the user information as found under Ms Word--tools--options--user information. I would then like to use this information elsewhere. Thanks
  9. newbby

    Select box, form validations

    Thanks vladibo for the solution. I need to sum only those intWorkDone records, where the strSelect= ON. Your solution is missing that catch.
  10. newbby

    duplicate value

    All, I have a variable that holds a comma delimited list of upto 5 numbers.How can I check that the numbers are not duplicated. eg: the below is a good set <cfset varMyNumbers = "12,43,55,76,44"> the below is not a good set <cfset varMyNumbers = "12,43,55,76,43"> (43 is duplicated) Thanks
  11. newbby

    Select box, form validations

    Hi, Please help me figure, how to write this form validations in javascript. when a user selects the value "ON" from a select drop down list, I have to figure that the sum of all the intWorkDone should be <=200. <form action="update.cfm" method="post"> <cfoutput> <cfloop from="1"...
  12. newbby

    CF and javascript

    Hi, Please help me figure, how to write this form validations in javascript. when a user selects the value "ON" from a select drop down list, I have to figure that the sum of all the intWorkDone should be <=200. <form action="update.cfm" method="post"> <cfoutput> <cfloop from="1"...
  13. newbby

    choice of index

    more than 100000 rows
  14. newbby

    choice of index

    Hi All, I have a table EMPLOYEE_DETAIL with columns such as EMP_ID int (primary key, non clustered index) EMP_LNAME char(25) EMP_FNAME char(25) DEPT_ID int (clustered index) The dept_ID is a foreign key from the DEPARTMENT table. I created indexes as mentioned above. Most of my queries on...
  15. newbby

    query.recordcount

    Hi, In CF 5, I could write <cfif query.recordcount gt 0> do something <cfelse> do something else </cfif>. This worked fine in CF 5. We recently upgraded to MX and the above code generates an error. Thanks.

Part and Inventory Search

Back
Top