[V4MD] AutoIncrement

Caliste_l caliste_l at yahoo.fr
Wed Sep 24 11:11:26 CDT 2008


Why it doesn't work alone with :
 tblPerson.createLongField("ID_Person",[#fIndentity])

And i have another field with 2 flag wich works good..
tblCar.createLongField("ID_Car",[#fIndexed, #fUnique])

..

-----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 18:08
À : valentina at lists.macserve.net
Objet : Re: Re : [V4MD] AutoIncrement

On 9/24/08 6:52 PM, "Bart Pietercil" <bart.pietercil at cognosis.be> wrote:

> 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.

Yes, seems as typo

No need to +  in Lingo.

#XXX this is symbols in Lingo, not true numeric constants like e.g. In RB


> 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

--
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