AW: Import pictures

Florian Bogeschdorfer fb at memedia.de
Tue Nov 25 18:13:18 CST 2003


 

> -----Ursprüngliche Nachricht-----
> Von: valentina-bounces at lists.macserve.net 
> [mailto:valentina-bounces at lists.macserve.net] Im Auftrag von 
> Ruslan Zasukhin
> Gesendet: Dienstag, 25. November 2003 18:04
> An: valentina at lists.macserve.net
> Betreff: Re: Import pictures
> 
> on 11/25/03 7:01 PM, Andy Fuchs at andy at foxwerk.de wrote:
> 
> > at 25.11.2003 17:24 Uhr, Ruslan Zasukhin wrote:
> > 
> >> repeat while count <= 10
> > 
> > SetBlank(gCursor)
> 
> Andy, but this is for AddRecord()
> 
> He try to do UpdateRecord().
> 
> As for me his code is right.
> 
> 
> >>>       set c = String(count)
> >>>       set the filename of member "fimage" to the moviePath& 
> >>> "Pictures\" & count & ".jpg"

Several mistakes:

At least the above line should be

...& c & ".jpg"

Because he made c to be the string of count

2nd: NEVER EVER make a variable name "count". Count is a function.
So "something"&count will stay "something"


Florian




More information about the Valentina mailing list