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

    Date() in access not being recognized

    I have a Access Database that is available on a server. There is one particular workstation that will not recognize the Date() function when accessing the database. All other workstations function properly. Can anyone help with this?
  2. boatdrinks

    Closing browser window on click

    I am using this code to close the browser window when button2 is clicked, but it only works after I click the button twice. I have tried putting it in the Page_Load, and in the If(Not Ispostback) and If(Ispostback). I have also tried putting it in the Sub button2_click, which runs a few other...
  3. boatdrinks

    Select statement for more than one field

    I have this select statment where I am selecting a bunch of fields and would like to set them all as variables. Originally I used a separate select statement for each field. This is my idea of how this should work, but id doesn't. Dim connectionString As String =...
  4. boatdrinks

    Custom validator

    I have a custom validator and would like to set it to allow between 1 and 500 characters. I would also like to allow certain characters like .,'!@$%*&()+=- I really only want to exclude <>. Is there any way I can do this? <asp:RegularExpressionValidator id="problemvalidator2"...
  5. boatdrinks

    Javascript errors everywhere

    I have just completed my asp.net application and now every page is displaying bogus javascript errors. They say Expected';' for lines that only contain something like one <td> tag. Some pages don't even have any javascript code om them. Please help!
  6. boatdrinks

    Setting focus on dropdown changed

    I know this is wrong, I am trying to set the text 'DTP' appear in textbox insertbarcde only if index 1 is selectedfrom dropdown inserthardware. How should this code look? <SCRIPT LANGUAGE=javascript> <!-- function OnChange(dropdown) { var myindex = inserthardware.selectedIndex If myindex...
  7. boatdrinks

    setting focus at beginning of text

    When you tab to this textbox 'dci.gov' appears, I would like the cursor to be placed at the beginning not the end though. <asp:Textbox id="Insertemail" maxlength="30" onfocus="javascript:if (this.value == '') {this.value = '@dci.gov';}" width="175" onkeypress="return noenter()" runat="server"...
  8. boatdrinks

    Text appear when cursor enters

    if I have an asp.net textbox called textbox2 how do I get the text "DTP" to appear in the textbox when the cursor enters it?
  9. boatdrinks

    Setting focus on page load

    I have this in the body tag of my asp.net page onLoad="javascript:document.form1.insertfirstname.focus()" When the page loads I get the error document.form1.insertfirstname is null or not an object What can I do about this?
  10. boatdrinks

    If statement for custom validator

    I am using a custom validator to check the value of a drop-down. if the value = something, then I want the textbox next to it to require a string of 8 characters. Here is my function Sub validatebarcode(source as Object, value as ServerValidateEventArgs) If...
  11. boatdrinks

    Required field validation based on Drop-down value

    I have a drop-down box and a textbox. I would like to set the validator of the textbox to require a value only if a specific value is selected in the drop-down. So far this is what I have done, and it does not work. I would like to do this in VB also. This is in the page_Load If...
  12. boatdrinks

    Required field validator

    I have a drop-down box and a textbox. I would like to set the validator of the textbox to require a value only if a specific value is selected in the drop-down. Is there a way to do this?
  13. boatdrinks

    window.close popup warning

    I am unsing the Javascript window.close and would like to eliminate the the popup that asks if you are sure you want to close the browser. 'Close Browser window when posting Button2.Attributes.Add("onClick", "javascript:self.close)")   This is the code I'm using, I think there is a way to set...
  14. boatdrinks

    Update statement quote problem

    I am trying to figure out how this Update statement should look. I think the quotes are in the wrong place. Dim oleCommand = New OleDbCommand("Update requests Set technician ='" & tech.selecteditem.text & "','" comments ='" & comments.text & "' Where ticket='" & request.Querystring("id"))
  15. boatdrinks

    Inserting into Access table

    I have this code that runs, but nothing shows up in the access table. What am I doing wrong? Dim connectionString As String =("Provider=Microsoft.Jet.OLEDB.4.0; data source=" & server.mappath("SupportRequests.mdb")) Dim oleConnection As New OleDBConnection(connectionString)...
  16. boatdrinks

    Connecting SQL databsae to global address list

    I am running sql 2000 and exchange 2000. How can I create a sql table from the exchange global address list? I want to continue to update it then afterwords..
  17. boatdrinks

    connecting sql server to exchange global address list

    I am running sql 2000 and exchange 2000. How can I create a sql table from the exchange global address list? I want to continue to update it then afterwords.
  18. boatdrinks

    Sending mail

    I cannot get this statement to work. 'result' is being pulled from a sql statement. when the message is sent the link reads 'result' instead of the actual number that it should be coming from the sql statement. objEmail.Body="<a href=http://premio/support.aspx?id=result>test</a>
  19. boatdrinks

    Anchor tag in email body

    I can't get this line to function objEmail.Body="<u>Owner:</u>&nbsp&nbsp;" + insertfirstname.text + " " + insertlastname.text + " <br><Br><u>Hardware:</u>&nbsp; " + inserthardware.selecteditem.value + "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp;<u>Software:</U>&nbsp; " + insertsoftware.selecteditem.value +...
  20. boatdrinks

    setting hyperlink variable

    I want to set the value of my variable as a hyperlink so I can call it into the body of an email that is being generated. dim hyperlink as string hyperlink = <a href="page.aspx">Click here</a> How can I do this the right way?

Part and Inventory Search

Back
Top