I have a simple problem (for once)
Assume I have a version number, say
8.2.1010
and I want every reload of a page to update it like this
8.2.1011
8.2.1012
8.2.1013
but never go to 8.3 or so on.
My current query:
<CFQUERY name="logplus" datasource="dbname" username="usname" password="pswd" dbserver="localhost" dbname="dbname">
UPDATE stats SET lobdv=lobdv+0.0001
</CFQUERY>
kills the .2 but updates the 0101 fine. Problem is, when it gets to 9999, it goes up to 9.0000, which isn't cool. I've tried
UPDATE stats SET lobdv=lobdv+0.0.0001
but that doesn't work.
Stupid, I know, but it's annoying
I promise, once I get these minor issues ut of the way I'll start posting many of my fixes to help out. I promise!
Kelani
Assume I have a version number, say
8.2.1010
and I want every reload of a page to update it like this
8.2.1011
8.2.1012
8.2.1013
but never go to 8.3 or so on.
My current query:
<CFQUERY name="logplus" datasource="dbname" username="usname" password="pswd" dbserver="localhost" dbname="dbname">
UPDATE stats SET lobdv=lobdv+0.0001
</CFQUERY>
kills the .2 but updates the 0101 fine. Problem is, when it gets to 9999, it goes up to 9.0000, which isn't cool. I've tried
UPDATE stats SET lobdv=lobdv+0.0.0001
but that doesn't work.
Stupid, I know, but it's annoying
I promise, once I get these minor issues ut of the way I'll start posting many of my fixes to help out. I promise!
Kelani