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 Mike Lewis 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: brianpercival
  • Order by date
  1. brianpercival

    Simple query doesn't work

    PHV, thanks a lot. I wasn't thinking.. Actually everything was working fine before. Meaning, the exact query that was written like three years ago has been working fine until now and suddenly it decides it cann't do it anymore. Kinda threw me off the track. thanks again. regards, Brian
  2. brianpercival

    Simple query doesn't work

    Hi all, here is my query, a seemingly very simple one, but it doesn't work SELECT [f1], [f1Total], FROM [t1] where (( [f1]/[f1Total])<=0.8); The error is "The expression is typed incorrectly or is too complex to be evaluated........" Works fine if I remove the division check. What am I...
  3. brianpercival

    restriction on number of users

    thanks guys, Actually the whole thing is built by us and we are selling as max 5 users. for more than 5 users it would be a different rate, etc... anyway, there has to be may be a java object based licensing solution or something like that. No clue as of now yet. As we know, there is no...
  4. brianpercival

    restriction on number of users

    The subject line is ambiguous, I apologize, didn't know how to put it better. I have a coldfusion application, say a very simple one, where users can login. The application will be hosted on the client machine as wellas the database. Meaning once sold we have no control over it. As part of...
  5. brianpercival

    XMLDOM

    OK, here is what I did finally. Instead of using a xmldom object, I used a xmlhttp and got the response as .text and it works fine. the content-type I left as text/xml and it works fine. regards, Brian
  6. brianpercival

    XMLDOM

    Jeff, I tried that and did an alert on it, brings back null. I changed the content-type for the target file as both 'xml'and 'html' still it wouldn't work. Any ideas? regards, Brian
  7. brianpercival

    XMLDOM

    I have a simple question. ------------------------------------------------------ var temp=""; temp=temp+'<?xml version="1.0"?><menus>blah blah</menus>' useTemp(temp); ------------------------------------------------------ ABOVE WORKS FINE. INSTEAD OF HARDCODING temp, NOW I DO A var...
  8. brianpercival

    htc and coldfusion

    Truthshire, I fished around in the cf admin (cfmx) but didn't find a place where I can mention htc. Where do I have to do that? regards, Brian
  9. brianpercival

    List box updates hidden field in form

    Here is the outline. You can do a onChange() on the list field. in the onchange, you will do a document.forms[0].hiddenField.value= document.forms[0].listField.options[listField.selectedIndex].value I am assuming you are doing something like <select name="listField"...
  10. brianpercival

    htc and coldfusion

    I have a q.. How does microsoft htc fit into coldfusion ? say I have a htc component that I am using in a coldfusion page, is there a way I can embed coldfusion tags in a htc file? say I want to populate the component with values from the database or something like that. any pointers on how to...
  11. brianpercival

    passing & in the url

    function doReplace(formField) { var objRe = /[&]/ var newVal = formField.value.replace( objRe, '***' ); formField.value=newVal; }
  12. brianpercival

    passing & in the url

    jl879, U can not use urlencodedformat the way you are using coz, this way you are trying to run javascript first and then cf, whereas it is the otherway round it works. So try removing urlencodedformat function, instead, in the javascript function, try doing some sort of "replace" on the...
  13. brianpercival

    Redirect on timeout

    function WarnUserTimeout() { if (window.confirm('Your session will expire in 5 minutes. Do you want To continue working?')) { window.history.go(0) } else { window.location='YOURURL' } } hope this is what you wanted...
  14. brianpercival

    serverside javascript to do a database connection

    kaht, I see what u do, but in the application I am looking at, it seems the severside script is not necessarily jscript. I see a ASP file containing a javascript code fragment like <script runat="server" language="javascript"> ..... </script> the file has nothing else. this script code has all...
  15. brianpercival

    Redirect on timeout

    can u use an else part where u say ... else { window.location=url; } regards, Brian
  16. brianpercival

    serverside javascript to do a database connection

    hi, I am new to serverside javascript, being a coldfusion developer. Can anyone please point me to a complete example where I can use javascript to connect to a database and query and thereby manipulate the result set? regards, Brian
  17. brianpercival

    execute web pages in javascipt

    didn't know how to make the subject more specific, but this is what I am looking for.. a right click on an icon should popup a menu and clicking on one ofhte menu items should execute a coldfusion page, in background. I should be able to basically do a http post in javascript and then handle the...
  18. brianpercival

    onclick doesn't work..:(

    trollacious, I found out why. the page is divided into frames, and this button is in one of the frames, so just a location.href wouldn't do. if I do a document.location.href, then it is working. Thanks for the response. regards, Brian
  19. brianpercival

    onclick doesn't work..:(

    I have on a button a simple onclick="location.href='<cfoutput>#CGI.SCRIPT_NAME#</cfoutput>?&add=yes'" (the cfoutput tags are coldfusion, just ignore them) and the onclick doesn't work.. :( thinking it is a coldfusion problem I tried with http://www.yahoo.com and it doesn't work either...
  20. brianpercival

    insert blank date into mssql database

    this is mssql. I guess I will have to make them allow null then.. regards, Brian

Part and Inventory Search

Back
Top