Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 11 total
Thread BUG: Version number (v1.00 Build 1)
Sat, Dec 16 2006 10:05 AMPermanent Link

Charalabos Michael
Hello Tim,
  Using EDB Manager:
  1) Create a new database
  2) Migrate a DBISAM v4 table
  3) Click - Alter a table
  4) Click - OK

You'll get:
  You must provide a valid version number error dialog
(Changing the version from "1,00" to "1" will accept it)

--
Charalabos Michael - [Creation Power] - http://www.creationpower.com -
http://www.creationpower.gr
Sat, Dec 16 2006 5:05 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< Hello Tim,
  Using EDB Manager:
  1) Create a new database
  2) Migrate a DBISAM v4 table
  3) Click - Alter a table
  4) Click - OK

You'll get:
 You must provide a valid version number error dialog (Changing the version
from "1,00" to "1" will accept it) >>

Fixed.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jan 3 2007 7:41 AMPermanent Link

Charalabos Michael
Hello Tim,

> << Hello Tim, Using EDB Manager: 1) Create a new database 2) Migrate
> a DBISAM v4 table 3) Click - Alter a table 4) Click - OK
>
> You'll get: You must provide a valid version number error dialog
> (Changing the version from "1,00" to "1" will accept it) >>
>
> Fixed.

Not fixed in build 3. It pops an error "Invalid floating value".
This may something to do with locales ? (I'm using Greek locale)

--
Charalabos Michael - [Creation Power] - http://www.creationpower.com -
http://www.creationpower.gr
Wed, Jan 3 2007 3:15 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< Not fixed in build 3. It pops an error "Invalid floating value". This may
something to do with locales ? (I'm using Greek locale) >>

Are you entering the value with a comma or a period ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jan 3 2007 4:31 PMPermanent Link

Fernando Dias

Team Elevate Team Elevate

Tim,

I tryed both here (PTG locale), and both are generating an error message:
-With "." the message is "'1.14' is not a valid floatig point value"
-With "," the message is "You must provide a valid version number"
(It is version 1.14 because the test table was migrated from DBISAM and had
that value).

--
Fernando Dias
http://www.easygate.com.pt/components

Wed, Jan 3 2007 6:04 PMPermanent Link

Charalabos Michael
Hello Tim,

> << Not fixed in build 3. It pops an error "Invalid floating value". This may
> something to do with locales ? (I'm using Greek locale) >>
>
> Are you entering the value with a comma or a period ?

period

--
Charalabos Michael - [Creation Power] - http://www.creationpower.com -
http://www.creationpower.gr
Thu, Jan 4 2007 4:39 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< period >>

I'll look into it.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jan 4 2007 5:29 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Fernando,

<< I tryed both here (PTG locale), and both are generating an error message:
-With "." the message is "'1.14' is not a valid floatig point value"
-With "," the message is "You must provide a valid version number"
(It is version 1.14 because the test table was migrated from DBISAM and had
that value). >>

Is this with the latest build (4) ?  I've tried both ways here with the
decimal separator set to a comma, and it works fine.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jan 4 2007 5:43 PMPermanent Link

Fernando Dias

Team Elevate Team Elevate

Tim,

> Is this with the latest build (4) ?  I've tried both ways here with the

No. It was with build 3. I'll try again with 4.

--
Fernando Dias

Thu, Jan 4 2007 7:41 PMPermanent Link

Charalabos Michael
Hello Tim,

> Is this with the latest build (4) ?  I've tried both ways here with the
> decimal separator set to a comma, and it works fine.

Build 4 does it too. It's a problem with the ThousandSeparator
on different locales.

Try to replace StrToCurr with StrToCurrEx like:

function StrToCurrEx(const AValue: String): Currency;
begin
  Result := StrToCurr(StringReplace(AValue, ThousandSeparator,
EmptyStr, [rfReplaceAll]));
end;

On tabledlg.pas:
  if (StrToCurr(VersionNumberEdit.Text) <> Version) then //Here's the
exception.

--
Charalabos Michael - [Creation Power] - http://www.creationpower.com -
http://www.creationpower.gr
Page 1 of 2Next Page »
Jump to Page:  1 2
Image