|
Not logged in [Login - Register] |
You Are Not Registered Or Not Logged In |
Corsa Sport » Message Board » Off Day » Geek Day » Simple Access Question » Post Reply
|
Ian |
posted on 11th Jun 03 at 19:57 |
Trouble with that baza, it'll be overwritten when the user types the 50 in. Plus it would need to be concatonated on, which is a string operation, which I don't think it'll let you do. | |
baza31 |
posted on 11th Jun 03 at 19:51 |
How about puttin "0." in there allready | |
Ian |
posted on 11th Jun 03 at 19:08 |
This won't help but bear in mind if you're playing about with numbers in C++ you'll need to cast the variable as of course you can't do maths on a string. | |
Mikorsa16v |
posted on 11th Jun 03 at 15:55 |
thats gambit, thats the theory i had, but im not sure how to divide it, its really helpful feature of putting quote marks in when i put /100 etc, isnt helpful! cheers i shall play a bit more :/ | |
Gambit |
posted on 11th Jun 03 at 15:54 |
leave it as a decimal field, then when they put in 27 it appears as 27 (and a label % beside the field), but when you store it in the db you divide by 100, to keep it as a percentage | |
Mikorsa16v |
posted on 11th Jun 03 at 15:41 |
I am currently making a database part of a group with a C++ program to gather data and it to write to the database, i figured that bit out but there is summit simple gettin on my tits now |