Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

dbase real problems
Hi,
the old story: convert Topspeed file to dBase.
The problem is the Type Real. If I try to save a value >= 1,000,000
(million) I get an error 90. Any ideas? Howto define the datatype
correctly? (did External: Real=N(9.0) )
I use Clarion 5.5G

Thanks
Frank

Report this thread to moderator Post Follow-up to this message
Old Post
Frank
03-27-04 04:01 AM


Re: dbase real problems
Frank,

Syntax should be filename = N(9.0).  If you have filenames that use an
underscore (_); i.e., Field_Name, they don't convert properly.
Underscores, in Clarion 5.0 used to work properly, though.

Rich Knoch
wwww.compulink-ltd.com

Report this thread to moderator Post Follow-up to this message
Old Post
Rich Knoch
03-27-04 04:01 AM


Re: dbase real problems
Rich,

thanks for your reply.
I did a bit more of "research":
My app does the following: search for a TPS file and then convert it
to a dbase file, pretty easy and straight forward.
If I do this with the first file everything is OK and the dbase file
is build according the dictionary. But if I do it again all REALs are
build as (9.2) in the dbase file and not as 11.0 as specified in the
dictionary!

Any ideas?

Thanks
Frank

richknoch@cs.com (Rich Knoch) wrote in message news:<1c2ab02e.0403190538.371d829f@posting.g
oogle.com>...
> Frank,
>
> Syntax should be filename = N(9.0).  If you have filenames that use an
> underscore (_); i.e., Field_Name, they don't convert properly.
> Underscores, in Clarion 5.0 used to work properly, though.
>
> Rich Knoch
> wwww.compulink-ltd.com

Report this thread to moderator Post Follow-up to this message
Old Post
Frank
03-30-04 08:30 AM


Re: dbase real problems
fbender@de.imshealth.com (Frank) wrote in message news:<f8844785.0403292305.62c4cbfd@postin
g.google.com>...
> Rich,
>
> thanks for your reply.
> I did a bit more of "research":
> My app does the following: search for a TPS file and then convert it
> to a dbase file, pretty easy and straight forward.
> If I do this with the first file everything is OK and the dbase file
> is build according the dictionary. But if I do it again all REALs are
> build as (9.2) in the dbase file and not as 11.0 as specified in the
> dictionary!
>
> Any ideas?
>
> Thanks
> Frank
>
> richknoch@cs.com (Rich Knoch) wrote in message news:<1c2ab02e.0403190538.3
71d829f@posting.google.com>... 

Rich,

no, I am using always the same files, converting results.tps to
results.dbf. Before converting the file xxx.tps is renamed to
results.tps and the file results.dbf is removed. After the processing
the file results.dbf is renamed to xxx.dbf.


Thanks
Frank

Report this thread to moderator Post Follow-up to this message
Old Post
Frank
03-31-04 02:30 PM


Re: dbase real problems
Hi,

I working with Clipper file. Time ago I found that my dbf file with
number fields defined as REAL=N(x,y) changed to REAL=N(9,2) after
EMPTY instruction. If you use this command I suggest you the CREATE or
PACK command that working right.

Regards
Danilo (Italy)

fbender@de.imshealth.com (Frank) wrote in message news:<f8844785.0403292305.62c4cbfd@postin
g.google.com>...
> Rich,
>
> thanks for your reply.
> I did a bit more of "research":
> My app does the following: search for a TPS file and then convert it
> to a dbase file, pretty easy and straight forward.
> If I do this with the first file everything is OK and the dbase file
> is build according the dictionary. But if I do it again all REALs are
> build as (9.2) in the dbase file and not as 11.0 as specified in the
> dictionary!
>
> Any ideas?
>
> Thanks
> Frank
>
> richknoch@cs.com (Rich Knoch) wrote in message news:<1c2ab02e.0403190538.3
71d829f@posting.google.com>... 

Report this thread to moderator Post Follow-up to this message
Old Post
Danilo
04-02-04 09:30 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 02:07 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.