Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Number is out of range - FMTBCD in CDS


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Jun 17, 2015 6:08 PM Last Post By: Linden ROTH Threads: [ Previous | Next ]
Linden ROTH

Posts: 467
Registered: 11/3/11
Number is out of range - FMTBCD in CDS  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 17, 2015 1:13 AM
Manually coping into a CDS which has been defined based on DB fieldDefs and hitting this error ... any hints to work around it the data firing it is actually effectively integer ie ( 6, 0 , (20, 32, 12, 0,0,0,0,0,0,0,0....))

Assign and cds.asString := db.asString both cause the error

a value of zero in another field (10,0, (0,0,0,0,0,0,.....)) works fine ?

--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"
Linden ROTH

Posts: 467
Registered: 11/3/11
Re: Number is out of range - FMTBCD in CDS  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 17, 2015 6:08 PM   in response to: Linden ROTH in response to: Linden ROTH
Linden ROTH wrote:
Manually coping into a CDS which has been defined based on DB fieldDefs and hitting this error ... any hints to work around it the data firing it is actually effectively integer ie ( 6, 0 , (20, 32, 12, 0,0,0,0,0,0,0,0....))

Assign and cds.asString := db.asString both cause the error

a value of zero in another field (10,0, (0,0,0,0,0,0,.....)) works fine ?

--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"

problem was the DB field defn as precision was 0 and size was 34 ... ????????

--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02