SQL question

Florian Bogeschdorfer fb at memedia.de
Thu Nov 11 20:27:57 CST 2004


> > 
> >     AddField(VAL[#ID], VAL[#KUNDENTable],
> > "gebmo",#kTypeString,5,"MONTH(geburtsdatum)")
> 
> Why string ?
> 
> Month() will return integer

I tried with kTypebyte and kTypeShort - no results

> 
> 
> >     setFieldFlag(VAL[#ID],
> > getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),16,TRUE)
> 
> No need
> 
> >     ChangeFieldMethod
> > val[#id],getfieldref(val[#ID],val[#KUNDENTable],"gebmo"),
> > "MONTH(geburtsdatum)"
> 
> No need

Then why didn't I get a method? I created the method and the flag set
FALSE...

Best regards, Florian



More information about the Valentina mailing list