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: endoflux
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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?
  6. 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...
  7. 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...
  8. 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!
  9. 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...
  10. endoflux

    Hide a Form Field based on entry in another Form field

    I'm selecting a Country name on a Main from and choosing another form to pass that value to. This form is used to dispay business attributes for the chosen country, and some fields do not apply to certain countries. I would like for the destination form to show/hide specific fields based on the...
  11. endoflux

    Check Data type/format of entry

    I have an html form input which I need to test for a valid numeric entry. Currently, all other data validation is being done at the top of my form post page before the entries are submitted the the database (ASP). In one case, I'm using the subroutine below for an alpha-numeric entry which has a...
  12. endoflux

    Request.Querystring not working

    My querystring is coming through fine, and my form default values work fine if I substitute plain text for the Request.QueryString code, but my querystring values aren't showing up when coded as follows: ' URL, truncated for this example...
  13. endoflux

    Session Timeout not working

    I'm going to try to do this without posting all the code... In theory, If I do this: Session("ReadWrite") Session.Timeout=1 ... Session("ReadWrite")="1" ... Response.AddHeader "Refresh", "90;URL=index.asp" Shouldn't Session("readwrite")="1" be reset to Session("readwrite")="" upon the...
  14. endoflux

    EOF/BOF if record values are different

    I'm storing two different field values in variables, closing my connection, opening a different connection and selecting records based on one of the variables...store values in variables...close connection, reopen and select by the second variable, store values in variables, then print variables...
  15. endoflux

    Form Select w Current Date gives &quot;Type Mismatch&quot;

    Hopefully a softball for someone this afternoon: I'm trying to set the default selection in a form to the current year, and am getting a "type mismatch" when I load the page: Year: <select name="Yr"> <option selected="selected"> <% Year(Date) %></option>...
  16. endoflux

    Paging- last page (Or record with only 1 page) gives BOF/EOF

    I've got paging implemented to limit each page to 8 records. If (for example) my results are 5 pages long, pages 1-4 work fine, and page 5 gives me the error below. Also, if my results only produce 1 page, I immediately get the error below: "ADODB.Field (0x80020009) Either BOF or EOF is True...
  17. endoflux

    Input Mask #AAA##

    This may be more of an HTML question, but it's for a database function, and I hve a feeling I'll find my answer more quickly here: I want to limit entry on this code to an entry of #AAA## where # is Numeric and A is Alpha, and either notify the user real-time that the format is wrong, or just...
  18. endoflux

    BOF/EOF or &quot;Unspecified Error&quot;, results exist

    I'm trying to search for/display a specific record in my Access Database, but I'm getting the following error upon posting the search. Error Type: Provider (0x80004005) Unspecified error /sterilization/update_view_sln.asp, line 10 Occasionally I'll also get an "EOF/BOF or file has been...
  19. endoflux

    Select Stmt Request.Form &quot;Syntax Error&quot;

    Having troubles today... For the code below, I'm getting the following error: Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'Packaging_Lot_Number = 05AD17'...
  20. endoflux

    Passing multiple DB vals via href - expected ')'

    All-- I'm thinking this is one of those problems where there are an extra set of quotes or some other simple character messing it up; I've tried brackets and quotes in various places with no luck...whoever finds Waldo first gets a star! When run, I get an error: Error Type: Microsoft VBScript...

Part and Inventory Search

Back
Top