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 TouchToneTommy 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: jmcg
  • Order by date
  1. jmcg

    iframe form with parent refresh

    BillyRay Thanks, that has put my in the right direction. Rather than a reload I have used the href to point to a URL. Cheers
  2. jmcg

    iframe form with parent refresh

    Sorry Dan, not sure I'm really following that one. Bit inexperienced with Javascript. The iframe appears on the page before submission to aloow submission then after to allow another submission but is in fact resubmitting the previous data. Not sure if that makes it any clearer.
  3. jmcg

    iframe form with parent refresh

    I have a form within an iframe that submits the data, then refreshes the parent (using parent.location.reload();). However as the iframe is part of the refresh is goes into a loop of resubmitting the data. Is there anyway to stop this from happening?
  4. jmcg

    Creating Excel XML from CF

    I have created a workbook with 6 worksheets and all works fine. I am now looking to create a summary based on the queries that ran to create the 6 sheets. However I need that worksheet to be first in the list, even though it will be created last. I know I could rerun the queries but would rather...
  5. jmcg

    CFDOCUMENT PDF & Javscript

    I am trying to use CFDOCUMENT to create a pdf file with an embedded link to the goolge maps API. I use the code <script src="http://maps.google.com/maps?file=api&#Chr(35)#038;v=2&#Chr(35)#038;key=ABQIAAAAGObV6T8B_zpXgwVZWvNwuxQQCKZWhYPeOwJCc-_-DB9RAo9IthR-zOOdtE6I-G8eSTKCApqMjo44Ig"...
  6. jmcg

    Outputting Query records from within loop

    I had that at first but got a stranger error message and thought it was just a typo from cfSearching ;-) Also a couple of typos on my post index="x" is actually index="col". The error message without the inverted commas was: [Table (rows 93 columns CREATEDDATE, SAC, SACNAME, CREATORNAME...
  7. jmcg

    Outputting Query records from within loop

    Am on CF7 so have used the following. <cfset colArray = "listToArray(ValueList(outputCols.colRef))"> <cfloop from="1" to="#ArrayLen(colArray)#" index="x"> <td>allData[col][currentRow]#</td> </cfloop> And get an error of: Object of type class java.lang.String cannot be used as an array The...
  8. jmcg

    Outputting Query records from within loop

    I have a query that returns all data from a table I then have a sub query that defines which columns should be output on the screen. I want to be able to output data columns from the first query based on the relevant cols in the output data. <cfquery datasource="#DSN#" name="allData"> SELECT *...
  9. jmcg

    Elevate Rights via SQL

    public to db_owner
  10. jmcg

    Elevate Rights via SQL

    Is it possible to elevate a user rights via an SQL storedprocedure. I do not have Enterprise Manager and can only access via an Access ADP. Is this possible, it is SQL Server 2005
  11. jmcg

    CFUPDATE to ignore fields

    thanks will try the formfields to defined rather than exclude. Or better yet spend a few hours and sort it into a proper SQL as CFUPDATE is not very good. Thanks for the tips anyway.
  12. jmcg

    CFUPDATE to ignore fields

    IS there a way to have CFUPDATE ignore certain fields in the form. I am using CFUPDATE as there are too many changeable form fields (of different types) to write the SQL manually, however want to ignore some fields that do not exist in the table. Is this possible, and if so, how? Thanks
  13. jmcg

    change textbox attributes on click

    Got it working with function changeInput(obj) { obj.style.background = "99ccff" ; } <input type="text" name="Contact_First_Name" value='#Contact_First_Name#' size='#len(Contact_First_Name)+4#' onClick="changeInput(this);return true;"> Thakns to all for the help
  14. jmcg

    change textbox attributes on click

    Sorry the code to call should read: <input type="text" name="Contact_First_Name" value='#Contact_First_Name#' size=#len(Contact_First_Name)+4# onClick=" changeInput(this);">
  15. jmcg

    change textbox attributes on click

    I am trying to get a bit of code that will change the background color and change the size of a textbox when it is clicked on. The Javscript function is (for just the color): function changeInput(this) { document.getElementById(this).style.backgroundcolor = "silver" ; } and the code to call...
  16. jmcg

    Custom cferror

    I am using a customer cferror page which includes the default classic.cfm debug page. This works ok, but what I ideally wanted was to be able to use the classic.cfm output into a file or field to log the error. I have tried using a textarea but there is some default code in the debugging that...
  17. jmcg

    Show debugging when disabled on server

    Thanks cfSearching, you've confirmed what I thought.
  18. jmcg

    Show debugging when disabled on server

    Debugging is disabled on the development server I use (no idea why but have asked for it to switched o and been told it is policy to have it off!) What I wanted to know was if it as possible to switch it on with the CF template to view the debug output?
  19. jmcg

    Wait for a webpage to load before calling another.

    Thanks for hanging in there on this. Changed to the above code and to a Load Event and it did not work However when I changed the 4 back to "Complete" it did work! Private Sub Form_Load() On Error GoTo 0 Set IE = Me.WebBrowser2 IE.Navigate "http://www.google.co.uk" While IE.Busy...

Part and Inventory Search

Back
Top