[Gambas-devel] Empty string sets controls and collections members to null Question
Benoît Minisini
gambas at ...1...
Wed Nov 25 00:16:23 CET 2009
> It's not the question the are equal or not.
> Its looks to be the problem the object in the collection is distroyed.
> Again, that is how I understand Richards problem !!!.
>
> Sometimes it can be nice to remove empty but it's logical IMHO.
>
OK, I see. You can use the destination Record to get the field list, like
that:
Dim hField As ResultField
For Each hField in MyResult.Fields
MyResult[hField.Name] = MyCollection[hField.Name]
Next
Regards,
--
Benoît Minisini
More information about the Devel
mailing list