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 wOOdy-Soft 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 linuxjr

  1. linuxjr

    Help with One to Many Data Set

    CrashDome, Thank you for replying to my question. I am basically trying to produce a spreadsheet with the data in a certain format like above in my previous post. I already have reports that I can format correctly but I'm trying to write for one of our customers a way to get this information...
  2. linuxjr

    Help with One to Many Data Set

    I'm looking around for examples or suggestions of how to go about my problem. I have three tables (work, engineers, parts) that are joined by a column wo_number. When I do my query in sql: select work.wo_number, engineer.name from work join engineers on work.wo_number = engineer.wo_number It...
  3. linuxjr

    Need help with Javascript/Postback issue

    Jim, I want to thank you for all your time helping me with this problem. It finally works but can you help me understand why I had to include an else statement? I was under the impression that my javascript was enabling the textbox's so when the post back fires the checkbox is checked and...
  4. linuxjr

    Need help with Javascript/Postback issue

    Here is the updated code: HTML Code <HTML> <HEAD> <title>Checkbox Problem</title> <link href="Style.css" rel="stylesheet" type="text/css"> <script src="dateformat.js" type="text/javascript"></script> <script src="calendar.js" type="text/javascript"></script> <script...
  5. linuxjr

    Need help with Javascript/Postback issue

    Jim, Thanks for replying so quickly. I meant to added in my previous post that is what my textbox's are like now. I still get the same error where it posts back and my textboxes turn back to yellow/readonly even with the checkbox checked.
  6. linuxjr

    Need help with Javascript/Postback issue

    Jim, Thank you for replying. I moved the readonly attribute into my page load and added this code: if(!chkPhone.Checked){ txtCallBackDate.ReadOnly = true; } I am still getting the same problem where when the page postbacks it changes the backcolor to #ffff80 and disabled with the date and...
  7. linuxjr

    Need help with Javascript/Postback issue

    I am almost done with my project and I'm having trouble finding what is causing this problem. I have on my form for this example a checkbox, two textbox's and a button. I was trying to implement a simple javascript function that if a user checks the check box it will fill the two textboxes with...
  8. linuxjr

    Help with this date format problem

    kaht, Thanks for the follow up. I was sent out into the field and just got back to work on this little problem. Thanks for the tip about the getFullYear() and after a few adjustments. I finally got it working. Thanks again for your help.
  9. linuxjr

    Help with this date format problem

    I have a simple formatDate function written in javascript as seen below. <script language="javascript"> function formatDate(str, style) { var dateVar = new Date(str); var year = dateVar.getYear(); if(year<10) year += 2000; if(year<100) year += 1900...
  10. linuxjr

    Stumped with Dataset problem

    I am trying to refresh my memory with programming in ASP.NET. I have a simple select statement that I know returns records and this code was working but now it doesn't anymore and I can not figure out why? con.Open(); AsaDataAdapter cmd = new AsaDataAdapter(sqlString.ToString(), con)...
  11. linuxjr

    Regular Expression Assistance Please

    Shatch and Ca8msm, Thanks for the quick Responses. I should add a little more to the problem I am having: The text box I'm writing to is a Multi-Line Problem Description Text Box. I have a simple Drop Down Box filled with Status's. I was just using Cities as an example in my original post...
  12. linuxjr

    Regular Expression Assistance Please

    I am finally gotten everything done with my data entry form except I am having one quirk that is giving me a hard time. I have a drop down on the form with values lets just say city1, city2, city3 and when the user selects one of these values it populates a textbox with the value. I'm trying to...
  13. linuxjr

    Strange Error from Crystal Report Viewer in .NET

    MJRBIM, I was suprised to see a post on this. I did finally figured it out. The report that I was having troulbe with was caused by a similiar view/procedure name. My report was based off a view and we created a test procedure for something else with the same name. So the report was going...
  14. linuxjr

    Need assistance with returning a value

    ca8msm, Thank you for the tip. I have actually changed it into a function that uses Page.RegisterClientScriptBlock and Page.RegisterStartupScript. At the time of my posting I was just trying to see if it was possible to include the javascript to my select button. Have yourself a great day.
  15. linuxjr

    Need assistance with returning a value

    RTomes, Thank you so much. I knew an extra pair of eyes would help me catch something so simple. That will teach me to program with a few hours of sleep. Have yourself a great day/night.

Part and Inventory Search

Back
Top