V4MD - <null> results with lingo
Bart Pietercil
bart.pietercil at gmail.com
Mon Jul 16 12:39:14 CDT 2007
Hi Giacomo,
while Ruslan is working on a permanent fix, you could try to set the
default values of your text fields to '' (empty string) and NOT
accept NULL values in those fields.
This way you eliminate the need for a check and you always get the
expected result.
hth
Bart P
On 16-jul-07, at 19:24, Ruslan Zasukhin wrote:
> On 16/7/07 7:24 PM, "Giacomo Vernoni" <giacomo at way-out.it> wrote:
>
>> I understand that this is ONE POSSIBLE solution, but what's the point
>> of having a field.getstring() function that doesn't return an empty
>> string if a field is empty?
>>
>> Be also aware that in Director, converting <void> to a string gives
>> me an empty string:
>>
>> put string(void)
>>
>> -- ""
>>
>> I have also tried
>>
>> myText = string(vcursor.field("fld_text").value) -- the field is
>> empty
>> put myText
>>
>> -- "<Null>"
>>
>> So I can't do that neither.
>>
>> So, the <null> result from vcursor.field("fld_text").value and the
>> "<null>" result from vcursor.field("fld_text").getstring() aren't
>> correct from my point of view... what do you think about it Ruslan?
>
> Please report this into Mantis.
>
>
> --
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list