ObjSubType
Michael Monschau
michael at brainydata.co.uk
Mon Dec 8 10:02:46 EST 2014
Hi Daniel,
Not sure if that would work in classic but constants can return both numeric or text values. Omnis sometimes has a hard time figuring out what is expected. In the past I have used
the con() with some success, i.e. con($ref.$objsubtype).
Regards,
Michael
Michael Monschau (Director)
Brainy Data Limited
Reply To: michael at brainydata.co.uk
Phone: +44 (0)870 474 0708
Web: www.brainydata.co.uk the home of Omnis Components and Developer Services
> On 8 Dec 2014, at 14:06, Daniel Sananes <danielsananes at hotmail.com> wrote:
>
> Hi all,
>
>
>
> Just a small question of how to get the name of the objsubtype.
>
> Am building a list of info from fielformats with $makelist:
>
> Calculate LIST as
> $formats.FILENAME.$objs.$makelist($ref.$name,$ref.$objtype,$ref.$objsubtype,
> $ref.$objsublen)
>
> Objsubtype gives 0 for character-field, 32 for numeric and 1000 for a
> datefield I have (etc).
>
> I would like to see the constansts: kSimpleChar, kDate200, kShortInt etc.
>
>
>
> How do I do that?
>
>
>
> Regards
>
> Daniel
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list