 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dale Francis Guest
|
Posted: Sun Nov 23, 2003 6:45 pm Post subject: Weird Behavior on a Different PC |
|
|
In response to serious PC problems, I have attempted to move everything to
another PC.
Now, however, the exact same compiled code returns some very weird results.
For example,
MyTable.FieldByName('MyField').AsString returns
'1.38537619631269E-312'.
The actual value is something like '2003637' and the field is defined as
Numeric - 7 digits - 0 decimals.
To give another example,
MyTable.FieldByname('MyField2').AsInteger returns 16708.
The actual value is 1 and the field is defined as Numeric - 1 digit - 0
decimals.
The Control Panel - Regional Settings are correct.
Do you know what is causing this strange behavior?
Thank you,
Dale Francis
|
|
| Back to top |
|
 |
Peter Below (TeamB) Guest
|
|
| Back to top |
|
 |
Dale Francis Guest
|
Posted: Sun Nov 23, 2003 11:26 pm Post subject: Re: Weird Behavior on a Different PC |
|
|
| Quote: | Insufficient data. What database backend are we talking about here?
|
Interbase.
| Quote: | What Windows platform?
|
Windows 98
| Quote: | What Delphi version?
|
Delphi 5
Any explanation of this weird behavior?
Thanks,
Dale Francis
"Peter Below (TeamB)" <100113.1101 (AT) compuXXserve (DOT) com> wrote
|
|
| Back to top |
|
 |
Peter Below (TeamB) Guest
|
Posted: Mon Nov 24, 2003 7:03 pm Post subject: Re: Weird Behavior on a Different PC |
|
|
In article <3fc14244 (AT) newsgroups (DOT) borland.com>, Dale Francis wrote:
| Quote: | Insufficient data. What database backend are we talking about here?
Interbase.
|
So you should go straight to b.p.interbase.general and ask there. This may
be a configuration issue.
| Quote: | What Windows platform?
Windows 98
What Delphi version?
Delphi 5
|
With the 5.1 update applied?
--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|