On Tue, 10 Jul 2007, James Shuttlesworth wrote:
> according to the documentation, the same 'Fields' method should allow
> me to update the field as well - indeed in an asp example provided
> this works fine (sets the selected users name to 'NewName')
>
> Set objStudent = Server.CreateObject("EACommunityData7.cEAStudent")
> objStudent.Load 8783
> objStudent.Fields(35)= "NewName"
>
> which lead me to belive to do it in perl it simply should be
>
> $objStudent->Fields(35) = 'NewName';
Perl syntax doesn't support assignment to parameterized properties.
You need to use the SetProperty() helper:
$objStudent->SetProperty("Fields", 35, "NewName");
Cheers,
-Jan
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs