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...
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...
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...
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.
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...
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...
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.
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...
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)...
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...
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...
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...
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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.