jouniaro
(Jouni Aro)
October 1, 2010, 12:15pm
1
Hi,
I had an old FB 4 project, in which I had defined the CC address in the script as:
Action.CopyTo = AdminAddress
I converted the project to FB6 and it seems that the action fails because of this line:
"Object doesn't support this property or method: 'Action.CopyTo'"
Code completion offers CopyTo however, and also CopyToList, which I tried to use as
Action.CopyTo.Add AdminAddress
but it fails too:
"Wrong number of arguments or invalid property assignment: 'Action.CopyTo.Add'"
I am using FB 6.3.0.2172
How should I do it?
Jouni
Hi,
You need to supply 3 parameters: Name, Address and a boolean of some kind.
So something like
Action.CopyTo.Add "Mickey Mouse", "MM@disney.com ", True
The last parameter is not mentioned in the help file and I can't remember what it's for, but it is in my scripts so I guess it's needed You can try to omit it.
Cheers Lars
jouniaro
(Jouni Aro)
October 29, 2010, 11:43am
3
Thanks, it helped. Although the correct syntax for me was: Action.CopyToList.Add “”,AdminAddress The third parameter was not accepted - also for CopyTo.Add (which is probably exactly the same as CopyToList)