Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TxtBox doesn't allow full length of field
Message
From
23/06/2005 13:13:32
 
 
To
23/06/2005 13:05:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01025919
Message ID:
01025934
Views:
14
>>>hello everybody.
>>>
>>>ok, here's one i havn't noticed before: i have a dbf with a double field (8,8). on the form i have a textbox (i used the basic textbox from VFP to eliminate any errors in the code of my txtbox class). this txtBox does not contain any code or any specs in the format and imputMask property.
>>>
>>B(8,8) or N(8,8) ? both are wrong
>>
>><snip>
>
>
>- well, on the double type field (not "B" as you stated) you only specify the "nPrecision" with i set at 8, the "nFieldWidth" is showing 8.
>
>- the numeric field - you are correct - was 8,7 not 8,8

Gunnar, want you a data or a display precision ?
clear
CREATE CURSOR myCursor (myField  B(8)) && double type field 8
APPEND BLANK
REPLACE myField  WITH 0.123456781
? "myField  =",myField
? "myField  =0.12345678"	,myField  =0.12345678
? "myField  =0.123456781"	,myField  =0.123456781
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform