[V4MD 198] GetColumn

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Nov 5 21:29:56 CST 2003


on 11/5/03 8:11 PM, katy kuzemsky at katy at ociwen.com wrote:

Hi Katy,

> Director MX, V4MD 198, Windows XP
> 
> I want to use several getcolumn but it seems to be not work but this worked
> on previous version.
> 
> pcursor  (well created with a sql string like "Select * from Table1")
> list = [:]
> list.addprop (#prop1, pcursor.getcolumn ("champ1"))
> list.addprop (#prop2, pcursor.getcolumn ("champ2"))
> list.addprop (#prop3, pcursor.getcolumn ("champ3"))
> list.addprop (#prop4, pcursor.getcolumn ("champ4"))
> list.addprop (#prop5, pcursor.getcolumn ("champ5"))
> 
> pcursor = void
> 
> On previous version (197), this is OK.
> but with 198, I get only the first getcolumn. The other calls return [] or
> they must be return ["value1", "value2", "value3", ...]
> 
> Do I make something wrong?
> 
> Someone has an idea?

If you switch from 1.9.7 then the main concern for you -- record locks.

Try without lists:

    pcursor.getcolumn ("champ1")
    pcursor.getcolumn ("champ2")

What you get?

Check errors after cursor creation.

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