Error 1090: Attemted to access via null object reference
Posted: Fri Aug 07, 2009 10:45 am
by Philip >> Sat, 30 Sep 2000 10:17:10 GMT
I keep on getting this error whenever I try to use an object, I pass all of the parameter's which are required and it gives me that error at runtime. I access the objects like this : self.close(true);
I don't see why this shouldn't work or what I need to to do make the error go away, any suggestions?
Also I'm unsure what parameters to pass to this object.
In the foreach loop which looks a bit like this:
writeEmployees(employees: EmployeeDict);
vars
e : Employee;begin
foreach e in employees do
script...
endforeach;
end;
This is from an example in the help for foreach iterating, but i'm not sure what to pass to the object, what is it?
Thanks,
Philip Q
I keep on getting this error whenever I try to use an object, I pass all of the parameter's which are required and it gives me that error at runtime. I access the objects like this : self.close(true);
I don't see why this shouldn't work or what I need to to do make the error go away, any suggestions?
Also I'm unsure what parameters to pass to this object.
In the foreach loop which looks a bit like this:
writeEmployees(employees: EmployeeDict);
vars
e : Employee;begin
foreach e in employees do
script...
endforeach;
end;
This is from an example in the help for foreach iterating, but i'm not sure what to pass to the object, what is it?
Thanks,
Philip Q