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 SkipVought 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: *

  1. endoflux

    actionPerformed >> NullPointerException

    GOOD CATCH!
  2. endoflux

    actionPerformed >> NullPointerException

    I'm having issues with ActionPerformed() functionality in a JFrame. Eclipse thinks everything looks fine, and the GUI loads fine, but I'm getting the following error if I press ANY button. I've removed code for all but basic function to ensure the problem isn't in my other code. For the...
  3. endoflux

    Colored Gradient on Graph, White Boxes for Data Labels

    no dice..."no frame" was already selected.
  4. endoflux

    Colored Gradient on Graph, White Boxes for Data Labels

    This is in Crystal 9.2.634...when I highlight and edit the selected item, the "Line" and "Fill" tabs are greyed out...
  5. endoflux

    Colored Gradient on Graph, White Boxes for Data Labels

    Hi there-- I've created a bar graph, and the customer wants the series to be colored using a gradient. This is all fine and well, except that when I use gradients, my data labels show up with white boxes around them, which makes it look very tacky. Strangely enough, if I change one of the...
  6. endoflux

    Division issue

    Okay, we've got a winner! By casting totalVotes (or whatever the divisor will be) as double, and/or adding '*1.0' in the divisor, it fixed the problem: percent[j] = (votes[j] / (double) totalVotes); percent[j] = (votes[j] / (totalVotes*1.0)); However, for others reading this, please note that...
  7. endoflux

    Division issue

    I've scratched my head too long: anyone? The snippet below is part of a larger program that accepts user names and scores as user input, then calculates a percentage. I've only included the relevant pieces here. My trouble is at (line 32): percent[j] = (votes[j] / totalVotes); As is, the...
  8. endoflux

    date format (leading zeros)

    Yeah, but by default it's returning 6/1/2007...is there any way to change this default in the SQL server config?
  9. endoflux

    date format (leading zeros)

    I've got a form which requires date entry by a user. The value entered is checked on the 'post' page to ensure its a valid date. The format entered is always MM/DD/YYYY, including a leading 0 when the month is <10 (IE 06/01/2007). This works great... ...then I also have a form for the user to...
  10. endoflux

    Excel fields: Date, Time -&gt; DateTime

    Folks-- I have a date column and a Time column, which I would like to become a single DateTime column. Concatenating the two converts the date to a number, which doesn't really help...ideas?
  11. endoflux

    real time data check on html/asp form

    Exactly!
  12. endoflux

    real time data check on html/asp form

    Folks-- I've seen this in action a million times, but haven't figure out how to do it: I have a form with, say, 15 fields in it. They're all text entry fields, and have the traditional HTML structure where "Submit" posts the entries to the referenced page. For Field #7, the data entered is...
  13. endoflux

    LEFT OUTER join issue

    That was it...I had criteria left over from an earlier design attempt. Thanks!
  14. endoflux

    LEFT OUTER join issue

    Folks-- Background: I have an Access source table that's an archive of projects. Since each project may last more than 1 month, I have a field concatonated at archive time that specifies the date for that record. In my Crystal 9 report, I have a need to compare hours completed from one month...
  15. endoflux

    check format (date) of passed string?

    This solution DID work; I made another mistake: I was calling the input as if it were a variable, while it was a querystring; plugging the code below in fixed the whole deal: If Not CheckDate(Request.Form("datein")) Then Response.Redirect ReDir4 End If Thanks guys!
  16. endoflux

    check format (date) of passed string?

    I haven't tried the second solution yet, but I've tried date formats "01/01/2007" and "01/01/07" with the first solution, and both come back as invalid date formats...I'm unfortunately not talented enough to decrypt the meaning of the Pattern suggested: objRE.Pattern = "(0[1-9]|1[012])[-...
  17. endoflux

    check format (date) of passed string?

    I want to check to ensure that a form field being posted to the database is a valid date. The isdate() function doesn't seem to work, given that the form field is passed to the page as a string...and if I attempt to convert an invalid format to a date, it will error out. Ideas? Thanks!
  18. endoflux

    Expected Statement - End If

    By putting it all on 1 line, it worked <scratching head> If Not isNumeric(Request.Form("quantity")) Then Response.Redirect ReDir3 End If
  19. endoflux

    Expected Statement - End If

    That produces the following: Code: If vartype(Request.Form("quantity")) <> "2" Then Response.Redirect ReDir3 End If Error: Microsoft VBScript compilation error '800a03f9' Expected 'Then' /test/newsln/new_post_sln.asp, line 40 If vartype(Request.Form("quantity")) <> "2"...
  20. endoflux

    Expected Statement - End If

    I'm using an IF statement to check for a valid data type, and redirecting to another page (url stored in a variable) if its invalid. I'm getting an "Expected Statement" error when I use "End If", and I can't figure out why...ideas? Thanks! Code: If vartype(Request.Form("quantity")) <> "2" Then...

Part and Inventory Search

Back
Top