FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBrowse edit col (RESOLVED by Daniel Garcia)
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
XBrowse edit col (RESOLVED by Daniel Garcia)
Posted: Fri Apr 25, 2014 10:00 PM

Hello friends.
I have a dbf table with SaldoAct field (numeric, 10.2 (2 decimal))
I edit directly on the browse.

When I enter a value of 1,000,000.00 (with decimal or not) ,/ all OK
When I enter a value of 10,000,000.00 (in decimal, so I control with the bEditValid block, all OK
When I enter a value of 10,000,000 (no decimals), I get error data width.
It happens when we press Enter key to record the data.

Some have already been through this? As corrected? (My version is FWH 1204
Greetings.

PD:
If we set cEditPicture = "9,999,999.99" ALL OK
But if we set cEditPicture = "99,999,999.99" ALL BAD (back to the behavior described).

XBrowse do not controls this?
That is, if we put a length greater than the corresponding field in the cEditpicture clause, xBrowse not automatically corrects this?

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: XBrowse edit col
Posted: Sat Apr 26, 2014 02:06 AM

Continue the discussion