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!

Search results for query: *

  • Users: programmher
  • Content: Threads
  • Order by date
  1. programmher

    Automatically logging in to another site

    I am using cfhttp to automatically log in to one site from another site. The users see different things depending on their passwords and logins. (Example - jdoe might see one set of options while jsmith would see another set of options). I am using the below cfhttp code to automatically log...
  2. programmher

    Reload and popup focus not working.

    I've read and unsuccesfully tried the suggestions already posted in this forum. I have two forms. The parent form opens a popup. The popup inserts a record into my database. I need the parent form to reload (in order to show this newly inserted record) AND place the focus BACK to the...
  3. programmher

    Detecting a space, placing variables in text boxes

    I have a database with names in one field - FullName. How can I detect the space, put everything to the left of the space in field FirstName and everything right of the space in field LastName? Ex: John Doe should be in two separate fields instead of one field. Ex: Lucille MacGillicuddy...
  4. programmher

    One value needs to appear on two places on my form.

    I am passing some values from one form to another like so: window.opener.document.formname.name.value = name; My problem is that I have two places on my original form that I need "name" to appear every time it is changed or selected. I can always get one to appear but not the...
  5. programmher

    Changing variables

    I have to check and change correspondence saluations on a CF form. My parameters are: <cfparam name=SalutationBeg default=&quot;Sir or Maam&quot;> <cfparam name=SalutationEnd default=&quot;Valued Customer&quot;> The user is passing the person's name as form.addressee. I want to create...
  6. programmher

    Unsupported property of method error

    I am attempting to validate and substitute data for a phone number. If the user attempts to enter an area code other than the valid one, I need to change it. Here is my code: <script> function validate_PhoneNum(){ if (document.MyForm.PhoneNum.charAt(3)== &quot;000&quot;) alert(&quot;strip...
  7. programmher

    Detecting and disabling when a link has been clicked more than once

    I have a link on a page that opens another page. My problem arises when the user accidentally clicks the link more than once. The information from the child form does not pass to the parent form when the link is clicked twice. Below is the code: <script> onload=function(){ var...
  8. programmher

    Capturing a dynamically changing number records

    I once did this and had the code; but cannot locate it nor fully recreate what I had... I have a query that will return a different number of records. The result might be one reocord, , it might be 30 records, or 100 records, etc. I need to create an array that will add the total associated...
  9. programmher

    window.opener.reload(rue) FAILS

    All, I have the above script in an event that successfully works when I test it in my test environment. Below is the entire script: function CloseMe() { window.opener.reload(true) window.close(); } </script> My dilemna is that when I move this code to my live site, my page reloads, but the...
  10. programmher

    Display numbers in descending order

    I have a query that returns all our company's employees. I need to show the names in alphabetical order; but show their employee numbers (like 1,2,3,etc) in DESCENDING order - regardless of when they were hired. The display would look like: Adams, Joyce 47 Brown, Henry 46 Is there an...
  11. programmher

    Is, contains, =, and like

    I have a query that performs very basic functions. I assign variables to represent certain values from two tables. My problem exists within my &quot;where&quot; clause. When I specifically compare any variable with a datatype other than INT, I get an invalid column name. (ex - querying for...
  12. programmher

    Ways to speed up results loading to a form

    Is there any way to speed up returning results to my form? I execute an SQL in query analyzer and it takes 1 second to execute and return my result. I execute the same query from my CF form and it actually takes less time to execute but several seconds to load the results to my form. Is...
  13. programmher

    Defaulting fields in an array to blank

    I have a form that could have up to 100 columns (based on what the user selects). I want all but the first 3 columns to default to the word BLANK. My below code is not working for all the fields - only for six fields throughout my entire form. Can anyone tell me why? <cfloop...
  14. programmher

    Optimizing a stored procedure

    I have a stored procedure that queries a table with over a million records. The table is indexed and does have a primary key. There are several necessary conditions within the procedure. The procedure takes several seconds to execute and return a result to a web form. Is there anything else...
  15. programmher

    Cannot use cookies

    Is there any way to preserve form A's values when I get to it by using a &quot;back&quot; button on form B? I cannot use cookies.
  16. programmher

    history /combo/text question

    Can anyone tell me why I can retaing my previous pages' values if they are combo boxes but not when any of my values are text?
  17. programmher

    Retaining History

    I have tried using history.back() and history.go(-1) to get to my previous form. I want to retain the variables the user entered on this first page. History.back() and history.go(-1) take me to the previous page; but, the form is blank rather than reflects all the date the user entered. What...
  18. programmher

    CF vs. Frontpage

    One of my clients might transfer their host to one whose servers support FrontPage and not CF. I am concerned about security. What arguments can I offer in favor of CF over FrontPage? Or, are my concerns unfounded?
  19. programmher

    OnChange not working

    Why doesn't this work? I'm trying to get the shipped date to equal the entered date plus 60 days when the entered date is changed. <script language=&quot;JavaScript1.2&quot;> function ChangeDate() { var NewDate = <output>#EnteredDate#</output>; var ANewDate = EDate+60...
  20. programmher

    Stored Proc not returning results

    Below is my stored procedure: @Client varchar(75), @salesman_lastname varchar(50), @ClientCity varchar(50), @ClientState varchar(4), @CSR_LastName varchar(50) AS SELECT @Client = @Client + '%'...

Part and Inventory Search

Back
Top