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

  1. juliam921

    Round number to nearest .25

    How do you do that?
  2. juliam921

    Round number to nearest .25

    Thank you! I feel stupid for not thinking of that! Julia
  3. juliam921

    Round number to nearest .25

    Does anyone know how I can take a value and round it to the nearest .25? I have values like 1.33 and .40 and 5.20 and they need to be in quarters (1.25, .5, 5.25). It is a time entry value and they need to be displayed in the nearest quarter hour increments. Thanks. Julia
  4. juliam921

    simple question

    float e = 1.0f; What does the f do in the variable value above (1.0f)? Do you need it? Thanks, Julia
  5. juliam921

    simple question

    That logic does not work. I think maybe I need a nested loop. When I do the above, no matter what I put in for n, I get fact = 1, e = 2.0.
  6. juliam921

    simple question

    I have to calculate the value of e which is equal to e = 1 + 1/1! + 1/2! + 1/3! ... i know that the factorial for a value is calculated by: for( int i = 1; i <=n; i++) fact = fact * i; JOptionPane.showMessageDialog(null, &quot;fact = &quot; + fact); so how do i modify this to...
  7. juliam921

    oracle connection error

    I have the ADO data control checked under &quot;components&quot;. What else do I have to do? I have never used a control to build a connection string. Thanks. Julia
  8. juliam921

    oracle connection error

    The Microsoft ODBC for Oracle doesn't allow you to store a password in the connection. I can connect to the database using sql plus using this id and password. Also, this application worked before I upgraded to XP and Oracle 9i. So its not the id or password. Could it be the version of the...
  9. juliam921

    oracle connection error

    I tried that and still the same. The password is not stored in the dsn, so I need that (and I tried just dsn and passowrd and same error). I am using the ODBC Connection Microsoft ODBC for Oracle. Do I need to specify the provider in the connection string? How do I find out what it is...
  10. juliam921

    oracle connection error

    Yes, that is the name of our dsn museump p is for production. -Julia Thank you! Any other ideas?
  11. juliam921

    oracle connection error

    I previously was running my visual basic program on vb6, Win 2000 with mdac 2.5 and an oracle 8.1.6 client. Now, I am running Windows XP with vb6, mdac 2.7 and an oracle 9.2 client on my machine and i get the following error at the cnnOrclConnection.Open line: method open of object _connection...
  12. juliam921

    date and time question

    I am using an oracle database and our date fields have a timestamp on them. i would like to disregard the timestamp. is there a way to maybe trim that off by creating a new object in the universe (but keeping it a date type)? Right now they have to enter a range of 5/31/2002 12:00:00 AM to...
  13. juliam921

    Separate Universe?

    Would creating a separate universe for a complex report speed up the processing time? If not, any ideas on what would?

Part and Inventory Search

Back
Top