Página 1 de 1

Length of data control buffer versus length of field

Publicado: Vie Sep 26, 2008 3:12 am
por g.s.rogers
I have noticed a difference in the length of a value of a data control
buffer versus the length of the field it is based upon. If I have a
character field with length 6 and input a 3-character value into the
associated data control, when I check the length of the value of that
control, it is 3, not 6. Is there a way to maintain the original field
length in the data control value?
TIA,
Gary Rogers

Length of data control buffer versus length of field

Publicado: Vie Sep 26, 2008 10:04 am
por ignacio
Gary,
When we start developing Xailer, one thing we were completely sure is to
avoid the ugly spaces on TEdit controls that other products have. I know
that is how CA-Clippper works, but it was only a MS-DOS compiler.
To check the length of a datacontrol:
- oControol:oDataField:nLen
- oControl:nMaxLength
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:[email=48dc36ef@ozsrv2.ozlan.local...]48dc36ef@ozsrv2.ozlan.local...[/email]
>I have noticed a difference in the length of a value of a data control
>buffer versus the length of the field it is based upon. If I have a
>character field with length 6 and input a 3-character value into the
>associated data control, when I check the length of the value of that
>control, it is 3, not 6. Is there a way to maintain the original field
>length in the data control value?
>
> TIA,
> Gary Rogers

Length of data control buffer versus length of field

Publicado: Vie Sep 26, 2008 10:04 am
por NoName
Gary,
When we start developing Xailer, one thing we were completely sure is to
avoid the ugly spaces on TEdit controls that other products have. I know
that is how CA-Clippper works, but it was only a MS-DOS compiler.
To check the length of a datacontrol:
- oControol:oDataField:nLen
- oControl:nMaxLength
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:[email=48dc36ef@ozsrv2.ozlan.local...]48dc36ef@ozsrv2.ozlan.local...[/email]
>I have noticed a difference in the length of a value of a data control
>buffer versus the length of the field it is based upon. If I have a
>character field with length 6 and input a 3-character value into the
>associated data control, when I check the length of the value of that
>control, it is 3, not 6. Is there a way to maintain the original field
>length in the data control value?
>
> TIA,
> Gary Rogers

Length of data control buffer versus length of field

Publicado: Vie Sep 26, 2008 6:43 pm
por g.s.rogers
I have no problem with that approach as long as I can get the accurate field
length! I am actually VERY impressed with Xailer as I have been able to
accomplish in a couple of weeks what would have taken me months with Visual
xHarbour.
Thanks,
Gary
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48dc9782$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Gary,
>
> When we start developing Xailer, one thing we were completely sure is to
> avoid the ugly spaces on TEdit controls that other products have. I know
> that is how CA-Clippper works, but it was only a MS-DOS compiler.
>
> To check the length of a datacontrol:
>
> - oControol:oDataField:nLen
> - oControl:nMaxLength
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
> news:[email=48dc36ef@ozsrv2.ozlan.local...]48dc36ef@ozsrv2.ozlan.local...[/email]
>>I have noticed a difference in the length of a value of a data control
>>buffer versus the length of the field it is based upon. If I have a
>>character field with length 6 and input a 3-character value into the
>>associated data control, when I check the length of the value of that
>>control, it is 3, not 6. Is there a way to maintain the original field
>>length in the data control value?
>>
>> TIA,
>> Gary Rogers
>
>

Length of data control buffer versus length of field

Publicado: Vie Sep 26, 2008 6:43 pm
por g.s.rogers
I have no problem with that approach as long as I can get the accurate field
length! I am actually VERY impressed with Xailer as I have been able to
accomplish in a couple of weeks what would have taken me months with Visual
xHarbour.
Thanks,
Gary
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48dc9782$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Gary,
>
> When we start developing Xailer, one thing we were completely sure is to
> avoid the ugly spaces on TEdit controls that other products have. I know
> that is how CA-Clippper works, but it was only a MS-DOS compiler.
>
> To check the length of a datacontrol:
>
> - oControol:oDataField:nLen
> - oControl:nMaxLength
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
> news:[email=48dc36ef@ozsrv2.ozlan.local...]48dc36ef@ozsrv2.ozlan.local...[/email]
>>I have noticed a difference in the length of a value of a data control
>>buffer versus the length of the field it is based upon. If I have a
>>character field with length 6 and input a 3-character value into the
>>associated data control, when I check the length of the value of that
>>control, it is 3, not 6. Is there a way to maintain the original field
>>length in the data control value?
>>
>> TIA,
>> Gary Rogers
>
>