SQL question

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Nov 11 21:31:19 CST 2004


On 11/11/04 9:27 PM, "Florian Bogeschdorfer" <fb at memedia.de> wrote:

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

It needs to look into V4MD docs, Florian.

Please open your db in Vstudio or viSQL.
Is gebmo field shown as method or as normal field?


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina mailing list