Topic: About CopyTo

Hello Dmitri

Please, a question :

When I want to store a picture in an external folder, I select Type : LinkFile.
But how correctly use method CopyTo. (Please, an example of the syntax)

A suggestion for next version of MVD :

To improve method CopyTo by using a button embedded in ObjectInspector (see picture joined)
By the way, we could select the good folder only with a click of the mouse, without having to type the right name).
That would give a sacred stamp to MVD.

Otherwise, I read on Russian forum, that with MDV 1.49, we can send an SMS directly since the application.
Then felicitation, I've never seen that from others softs competitors of MVD.

Thanks for answers
YY

Post's attachments

Attachment icon example.jpg 15.73 kb, 306 downloads since 2015-01-29 

Re: About CopyTo

Here you can find more info about CopyTo, no need any script for it
http://myvisualdatabase.com/help_en/com … opyto.html


Also I made for you simple example.



In the MDV 1.49beta, you can send SMS only in Russia, Ukraine, Belarus

Post's attachments

Attachment icon LinkFile CopyTo.zip 120.39 kb, 536 downloads since 2015-01-29 

Dmitry.

Re: About CopyTo

Hello Dmitry

Thanks for your help.
Well I didn't know what information  to fill methode CopyTo
Now It's clear

I guess to retrieve the picture, I'll use Form1.DBImage1.LoadFromDatabase('employees', 'photo', Form1.GridEmployees.dbItemID);

What's your advice about my proposition for next version ?
Is it possible ?
We could choose a particular folder (ex c:\myapp\books\ludlum) or (c:\myapp\books\clancy) or (c:\myapp\books\coben) and so on...
Or (c:\myapp\rock\) or (c:\myapp\blues\) or (c:\myapp\jazz\)...

Thanks again

YY

Re: About CopyTo

yann.yvinec wrote:

What's your advice about my proposition for next version ?
Is it possible ?
We could choose a particular folder (ex c:\myapp\books\ludlum) or (c:\myapp\books\clancy) or (c:\myapp\books\coben) and so on...
Or (c:\myapp\rock\) or (c:\myapp\blues\) or (c:\myapp\jazz\)...

I'm not sure of the need for this option.
You can change the folder using the script

Form1.DBFile1.dbCopyTo := 'c:\myapp\jazz\';
Dmitry.

Re: About CopyTo

Hello Dmitry

I'm not sure of the need for this option.

Well, probably 'cause I'm a little lazy ! Ha ! Ha ! Ha !

Thanks

YY