ObjSubType

Peter van Rooij Gmail pfvanrooij at gmail.com
Mon Dec 8 09:29:36 EST 2014


Hello Daniel

Looks like you are using Omnis 7 or older.
I am not sure that you can do that in Omnis 7. (And never the name of the constant, but at best the 'string-value')
But I assume you can read the value of the constants in de Method Editor, so you can relate the numbers in the list to the number of the constants

HTH

Peter

On 8 dec. 2014, at 15:06, Daniel Sananes 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