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
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, "fact = " + fact);
so how do i modify this to...
I have the ADO data control checked under "components". What else do I have to do? I have never used a control to build a connection string.
Thanks.
Julia
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...
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...
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...
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...
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.