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 dencom 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: hpadwal
  • Content: Threads
  • Order by date
  1. hpadwal

    Possible to find out if date in a varchar column is US or UK in ASP?

    hello all, I have dates in a varchar column in my database which are US and UK (MM/DD/YYYY and DD/MM/YYYY) Bad news i know, , but we want them all to be UK, however they are all mixed up! Is it possible for ASP to determine wheather they are US or UK? help! Thanks...
  2. hpadwal

    changing order of a string!

    Hello all, I have 3200 entries of user Date of birth (DOB) entries in MM/DD/YYYY as a varcvhar. i need to change these strings into DD/MM/YYYY, basically swap the numbers in the string around. Is this possible? _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ - Doh...
  3. hpadwal

    Errors converting VarChar to smalldatetime

    Hello all, i get the following error The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value. When i execute Update tbl_users Set user_dob = convert(smalldatetime, user_dob, 103) Where user_dob is not null I am trying to convert...
  4. hpadwal

    Convert VarChar>smallDateTime BUT some data is DD/MM/YY and MM/DD/YY !

    Hello all, I have a large database of user which used to use an amercian based server which stored all birth days as 03/21/1998(MM/DD/YYYY) in a VarChar column... ...Later we switched our server and the dates where then been stored as 26/12/1998 (DD/MM/YYYY)... As you can guess this is a bit...
  5. hpadwal

    Javascript Validation, Object Expected?! Wot is it- beginners mistake

    Hello all, I have a silly mistake in thos validation script for a dropdown box. "object expected" function valformstart(start) { strError = "" if(start.customer.value == "") { strError += "Please select your title\n" } } <img src="images/continue.gif" name="submitbut"...
  6. hpadwal

    Converting varchar to smalldatetime i think?

    hello all, i have a coloumn in my database which is: user_dob varchar 100 and i have created a stored produre to select email address where users are between certain dates. However it is now working can you help? CREATE PROCEDURE GetByAgeEmail AS SELECT user_email FROM tbl_Users...
  7. hpadwal

    LIMIT string length : &quot;something like this......&quot;

    Hello all, Surprised i couldnt f8ind the answer on google but i need to limit the length of a string retrieved from database. can you help? "something like this......" Thanks you _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ - Doh http://www.my-portfolio.me.uk
  8. hpadwal

    JS show &amp;hide Table row not working properly for radio buttons!

    Hello all, I have the following script which works great for check boxes and and links however radio buttons are a bit annoying. Clicking a radio button will DISPLAY a tablr row containing infomation. Clicking another button (which hase the same name) displays that options info ande should...
  9. hpadwal

    Javascript not returning value into textbox in different brower

    I have a Javascript function that returns a value and places it in a read only textbox. This isnt working on safari, the text box remains empty, The functions works perfectly in Firefox and IE! Here is some of the code. the following returns the result. var total var discount total =...
  10. hpadwal

    Credit card validation needed!

    Hello all, does anyone have a credit card validation script that acutally works, i have used a few i found online but there seems to be endless debugging. The foillowing cards will be used MasterCard UK Maestro/Solo Visa / Visa Electron Switch Laser (ROI) also if you have any scripts...
  11. hpadwal

    why is JS not showing my 0(zero) values in text box!?!

    hello all, I have recently created the following JS wich works perfectly except it is not showing the 0 (zeros) values in the targeted text box. For example a 0.00 value does not show nothing and 13.50 shows as 13.5 can you help? here is a sample of my code if (prempack == 4) {...
  12. hpadwal

    Calculating Sums - direction needed

    Hello all, I need some pointers on how to approach this task, had a look on google but not finding what i need. I need the summary section of my page to update everytime a user clicks a checkbox of a package they want to buy (let say they are £10 each) The output value should also go into...
  13. hpadwal

    Radio Button validation before submit - did worked first time!?

    hello all, i have used this radio button validation before and it has workied, but isnt working on my new form. can you help? Here is my form head <form name="form" method="post" onsubmit="return valformPage2(form);" action="default2.asp?id=<%=id%>&ref=<%=ref%>"> And the javaScript...
  14. hpadwal

    Refresh parent when popup is closed?!?!

    hello all, I would like to close the popup window when the close button is clicked, and then refresh the parent so all the updated detals show. <script language="JavaScript">window.close();</script> <script language="JavaScript">window.opener.location.reload();</script> problem I am...
  15. hpadwal

    Variable is undefined: 'contactEmail' WHY? having problems here

    hello all, i have the following form header which keeps bringing up this error? Microsoft VBScript runtime error '800a01f4' Variable is undefined: 'contactEmail' the form head is .Write "<form name=""rejct"" method=""post"" action=""subReject.asp?rjtsub="& iSubmissionID &"&emailadd=" &...
  16. hpadwal

    Error message when executing Stored procedure - ADODB.Command error

    Hello all, I am getting the following error: ADODB.Command error '800a0d5d' Application uses a value of the wrong type for the current operation. D:\WEBSITES\PROD03\COMMISSIONER\../_inc/_submission.asp, line 93 it is pointing to: .parameters("@FromAssistantID") = iAssistantID Here is...
  17. hpadwal

    Javascript popup in response.write not working

    hello all, i have the following button which is executein inside a asp response.write function but the queurystring ios not passing. .Write "<td align=""right""><input type=""button"" name=""btnEmail"" value="" Send Email "" style=""width:100px;""...
  18. hpadwal

    simple form not posting?!?!WHYYY

    Hello everyone, I have a simple form which is failing to post. I have looked high and low. Can you help? I have taken out some HTML to clear it up. Here id the form which displays resultd from a request.querystring and puts them into hidden fields (this page works fine, QS display fully...
  19. hpadwal

    ASP and inserting into stored procedures

    hello all, i have the following stored procedure set up which inserts a form objects into a table CREATE PROCEDURE SP_EmailSend @submissionID int, @message varchar(5000)=null, @sender varchar(50)=null AS BEGIN INSERT INTO tbl_sendmessage (submissionID, message, sender)values(@submissionID...

Part and Inventory Search

Back
Top