[V4MD] AutoIncrement

Bart Pietercil bart.pietercil at cognosis.be
Wed Sep 24 10:52:18 CDT 2008


I gave up on Director a few years ago so I can't really test but

tbl.Person.createLongField("ID_Person",[#fIndexed +#fIdentity]  should  
work, if I recall correctly the flags #f.... are in fact constants  
that you need to sum up

Mind you there seems to be a typo fIndentity or fIdentity, maybe try  
both of them.
Do you have Valentina error checking in place in your script ?
What kind of error does it give ?

hth

Bart


On 24 Sep 2008, at 17:43, Caliste wrote:

> I try :
> tblPerson.createLongField("ID_Person",[#fIndentity]) -> didn't work  
> the field is not created
> I try :
> tblPerson.createLongField("ID_Person",[#fIndexed, #fIndentity]) ->  
> didn't work the field is not created
>
> so what's my error or the issue ??
>
> Thanks
>
>
>
> ----- Message d'origine ----
> De : Bart Pietercil <bart.pietercil at cognosis.be>
> À : Valentina Developers <valentina at lists.macserve.net>
> Envoyé le : Mercredi, 24 Septembre 2008, 17h31mn 35s
> Objet : Re: [V4MD] AutoIncrement
>
> Hi Caliste
>
> http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documentation:vkernel:vfield:flags&s=identity
>
> hth
>
> Bart
> On 24 Sep 2008, at 17:20, Caliste_l wrote:
>
>> Did'nt find it... ;)
>>
>> -----Message d'origine-----
>> De : valentina-bounces at lists.macserve.net
>> [mailto:valentina-bounces at lists.macserve.net] De la part de Ruslan
>> Zasukhin
>> Envoyé : mercredi 24 septembre 2008 16:34
>> À : valentina at lists.macserve.net
>> Objet : Re: [V4MD] AutoIncrement
>>
>> On 9/24/08 1:41 PM, "Caliste" <caliste_l at yahoo.fr> wrote:
>>
>>> Hi
>>>
>>> What is the flag to set a field as Auto Increment ?
>>>
>>> createLongField("ID_Person",[#fIndexed, #????])
>>
>> Identity.
>>
>> But please read carefully wiki docs
>>
>> --
>> 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
>>
>>
>> _______________________________________________
>> Valentina mailing list
>> Valentina at lists.macserve.net
>> http://lists.macserve.net/mailman/listinfo/valentina
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list