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 Chriss Miller 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 fdgsogc

  1. fdgsogc

    Displaying results of an SQL Pivot Query

    Hi, Here's my problem statement: I'm using a query that uses the SQL Pivot function. But I'm having issues displaying the results. Here's my query. <cfquery name="showprofileresults" datasource="#db#" username="#dbusername#" password="#dbpassword#"> select * from ( select...
  2. fdgsogc

    Report Builder 3.0 - Using parameters across datasets

    This is a two part question. - I am building a report in Report Builder 3.0. - I have one datasource (an MS Analysis Services cube) with two datasets. - The first dataset has a single value using one parameter to filter for a single location and a date parameter to filter for single day of...
  3. fdgsogc

    cfscript and javascript

    I have a cfscript from the common FCKeditor. See code below: <form id="issueinsert" method="post" name="issueinsert" onSubmit="checkDescription();"> <cfscript> fckEditor = createObject("component", "fckeditor/fckeditor"); fckEditor.instanceName = "issuedescription"...
  4. fdgsogc

    Passing Child Form Values to Parent Form Field

    This is great advice. thanks!
  5. fdgsogc

    Passing Child Form Values to Parent Form Field

    I have a child window with email address in a form that I want to pass onto my parent window with a form. I am getting an error saying, "opener.document.formname is undefined". where "formname" is a variable that I passed in the javascript script call on the parent form which is then used by...
  6. fdgsogc

    Catch database truncate error

    Hi, I want to catch a database truncate error and provide a very specific message that indicates the user is entering too much information. That is, I don't want to just catch the database error generally and say, "You have a database error.". The error code is 8152. Can I catch that specific...
  7. fdgsogc

    Create formula from user input

    Thanks Glenn. I'm getting where you're going with this. However, I don't have an EVALUATE function in my Excel 2007. Is this found with an Excel Add-in?
  8. fdgsogc

    Create formula from user input

    Here is a proper working link to the sample file.http://www.claimscorpinc.com/files/formulabuildertest.xls
  9. fdgsogc

    Create formula from user input

    I am creating an Excel template that will build a report based on responses to a questionnaire and based on how the questions are answered, different text will appear in the report on second worksheet. However, I don't want to hard code the formulas for the text output. I want an admin type...
  10. fdgsogc

    Selecting records with similar values...

    I have a table of user permissions for project records. I want to be able to select the users that share permissions for the same projects for a selected list of users. Here is an example of the record set for the permissions table. USERID PROJECTID 5 43 5 44 5...
  11. fdgsogc

    How to find angle brackets in a string &quot;&gt;&quot; and &quot;&lt;&quot;

    So here's what I ended up with. I think this will work. I'll end up with a few dashes because I'm not using a regular expression to find the number of dashes but rather the words, "Original Message". Thanks for all your help. <cfset bodytext = #htmlcodeformat(getmail.body)#> <cfset...
  12. fdgsogc

    How to find angle brackets in a string &quot;&gt;&quot; and &quot;&lt;&quot;

    I'm able to get rid of all text with this following expression, but how to I limit it to only all text AFTER my "----Original Message----" text? <cfset cleanbodytext = reReplaceNoCase(bodytext, "[a-z]*", "", "all")>
  13. fdgsogc

    How to find angle brackets in a string &quot;&gt;&quot; and &quot;&lt;&quot;

    OK. I'm part of the way there. I can take the body of an email and remove the "--- Original Message ---" text whether it has 2 or more dashes. My next challenge is that I want to remove every other characters after the "--- Original Message ---" text. Not getting how to instruct selecting...
  14. fdgsogc

    How to find angle brackets in a string &quot;&gt;&quot; and &quot;&lt;&quot;

    Hi cfSearching, May I ask for one more favor. I am receiving emails into a database. But I want to peel away everything after and including the "original message" text: -----Original Message----- Sometimes there are more or less dashes from a user depending what email system they are...
  15. fdgsogc

    How to find angle brackets in a string &quot;&gt;&quot; and &quot;&lt;&quot;

    Thanks very much. I used this version of your solution: <cfset result = reReplaceNoCase(fromEmailString, "^([^<]*<)|(>[^>]*)$", "", "all")>

Part and Inventory Search

Back
Top