[V4RB] RecID & picture fields

Pedro fp lists at pedro.Net.au
Thu Sep 9 15:15:12 CDT 2004


By way of addition in case it's useful ...

The other lines accessing the same cursor ...

         s(0) = data.stringField( "salutation" ).getString
         s(1) = data.stringField( "givenName" ).getString
         s(2) = data.stringField( "surname" ).getString
         dRow( i ).name = s
         dRow( i ).payrollNumber = data.stringField( "payNumber" 
).getString

all work as expected. These lines immediately follow ...

         dRow( i ).itemData = data.uMediumField( "RecID" ).value
         dRow( i ).icon = data.PictureField( "photo" ).getPicture ' Set 
photo icon.

in the method.

Also the folderItem passed in the newPersonFromJPEG( withFile As 
folderItem ) method is always a JPEG & checked using ...

         if f.item( i ).type = "image/jpeg" then

before calling newPersonFromJPEG.

Cheers, Pedro :-)

Web: <http://www.pedro.net.au>                    PGP Key ID: 387CD96F
Instant messaging...  AIM: bandidoOfOz  ICQ: 27671678  Jabber: pedrofp
                       MSN: mail at pedro.net.au           Yahoo: pedro_fp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"The West won the world not by the superiority of its ideas or values
or religion but rather by its superiority in applying organized
violence. Westerners often forget this fact, non-Westerners never do."
                                                   Samuel P. Huntington



More information about the Valentina mailing list