>Hello,
>
>Here is a quick look at what I am trying to do (I am NOT very good in FoxPro):
>
>I have a BackupJob object (xBackup) and a FileSelection object (xFiles)
>
>Basically, what I need to do is pass xFiles to xBackup property called selection.
>
>In VB it would look like this:
>
>xBackup.Selection = xFiles
>
>Foxpro does not seem to like this as it does not recognize xFiles as being an object.
>
>Both xBackup and xFiles are in seperate OleContainers.
You need to include the parent object of xfiles:
xBackup.Selection = ThisForm.Container_Name.xFiles.Value
I have assumed xFiles is a textbox. If it is a combobox, change Value to DisplayValue if needed.
Mark McCasland
Midlothian, TX USA