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 SkipVought 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. danielhai

    Regular Expression, UBB Code, and Matching Problems

    Hi, I'm trying to mimic the TGML code on here or in UBB -- but I'm having a problem with Regular Expressions matching too much, I thought that the engine would find the first match of an occurence and match it, however it's going to the end of the string .+ and doing the replace there. For...
  2. danielhai

    Importing Text Files and using multiple variables

    make sure to do the loadvariables into the movieclip and not the main timeline?
  3. danielhai

    Simple Math Problem acos / asin?

    Using, Flash MX, creating a randomly generated tree. Seems like my math is just funky. it's creating most of the tree fine, but on some degrees, the branches don't get created right. You can view the fla file here: http://www.404404.com/flash/dantree.html . You'll see that some of the branches...
  4. danielhai

    Creating a mapping within application.cfm

    is there a way to create a mapping within application.cfm? The client I'm working for has two development projects on one server, with /templates/ on one IP mapped to one drive, and I'm trying to get /templates/ on another IP with /templates/ mapped to another area. Has anyone dealt with a...
  5. danielhai

    Totally Weird-Oracle Returns Empty RecordSet!

    your code looks fine - you sure you have stuff in your destination table?
  6. danielhai

    A forum in ASP

    probably want to add something that checks for a >, otherwise, a post starting with < alskdjflaskdjflaskjdflaksdjflaskdjflakdjla will make the whole thing blank ...
  7. danielhai

    open vs execute: Which is faster?

    on .execute, the recordset object is being created anyways, but with defaults on. It shouldn't be all that much slow to create your recordset objects beforehand ...... how many execute's do you have on your page anyways?
  8. danielhai

    How to pass value from vbscirpt to ASP???

    Client variables and server variables cannot read each other in the method you described. You're going to have to use request variables via the URL or through form processing. Set the VBScript variable to put put in a form, and directed to another page, then call it by doing a...
  9. danielhai

    ODBC text file driver....where to get it?

    I think they're some of the custom data objects in microsoft office, or installing IIS will definately get them onto your system.
  10. danielhai

    How to access a collection in CFSCRIPT

    How do i mimic the following code in CFSCRIPT? <cfloop collection=&quot;#Fields#&quot; item=&quot;this&quot;> </cfloop> thanks, dan
  11. danielhai

    How to call a Recordset in CFScript

    i already looked at that. there's got to be a faster and easier way then creating a query, then populating it. I'd just rather WriteOutPut(recordset(column)), then go through the slow process of creating the query. Any ideas?
  12. danielhai

    test existence of a file on different server using asp??

    tricky, you'd have to use an HTTP Component that returns whether a file exists or not. But even that might not work because some web servers return 404, so you'd have to parse and see if the returned page contains 404. for HTTP components try Mabry or Software Artisans.
  13. danielhai

    How to call a Recordset in CFScript

    i tried that, I'm just trying to use the simple Microsoft ADO Recordset Object, but I have a problem when I try to refer to the value on one line. Instead of oRs.Fields(&quot;FieldName&quot;).value, I have to set: MyFields = oRs.Fields MyFieldName = MyFields(&quot;FieldName&quot;) MyFieldValue...
  14. danielhai

    How can I Delete an item if older than x amount of days

    it's better to use stored procedures. Use CFQuery to call your delete procedure. You don't have to pass in CF Time if you don't want, just use: delete from tablename where dateField < getdate()-2 the -2 is for days(the default SQL setting).
  15. danielhai

    how to call multiple properties in CFScript

    hi, i have a script that calls a recordset, and I want to print the recordset value, but it won't allow me to call multiple properties in one go, I have to set a variable, then set another, to get to the third level properties. Is there a way to do this is CF? For example, I want to call...
  16. danielhai

    cfinsert vs. SQL insert and NULL values

    in your query are you having: sp_storedprocedure @FieldName=''? If so, the field will be blank unless you have: sp_storedprocedure @FieldName=null
  17. danielhai

    How to call a Recordset in CFScript

    How do I call a recordset field with the JS in CFScript? I tried oRs.Fields[&quot;RowName&quot;].value but it didn't work? Any help? My code is below ... <CFOBJECT TYPE=&quot;COM&quot; ACTION=&quot;CREATE&quot; CLASS=&quot;ADODB.Connection&quot; NAME=&quot;oConn&quot;>...
  18. danielhai

    Search Engine with boolean operators (AND and OR)

    I was wondering how I would go about creating a search query that allowed for an AND or OR. I've seen it on many search engines, but I can't get the logic right when searching multiple fields. Is there a way in SQL to dp &quot;where columnname1, columname2 like '%string%' and columnname1...
  19. danielhai

    Text file connection string

    How do I open a DSN using a text file? I can't seem to get the connection string right .... thank you.
  20. danielhai

    How to Get the Virtual Path of the Current Script

    Response.Write Request.Servervariables(&quot;SCRIPT_NAME&quot;)

Part and Inventory Search

Back
Top