Thanks for the suggestion!<br><br>although that gets me an error:<br><br>GetAttrib: Missing Parameter(s)<br><br>Thanks,<br>Greg<br><br><div class="gmail_quote">On Sun, Feb 22, 2009 at 11:01 PM, Eliezer Kanal <span dir="ltr"><<a href="mailto:ejk4@pitt.edu">ejk4@pitt.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
The error is in how you're calling GetAttrib. "c.GetAttrib" means "get<br>
attribute from c", or "get attribute from context". Context is sort of<br>
the base-level storage of the entire experiment. You don't want to get<br>
an attribute of the context, you want an attribute of BlockList. I<br>
think you want to try<br>
<br>
str(BlockList.GetAttrib("Sample"))<br>
<br>
I don't have eprime on this computer, though, so I can't test that.<br>
Good luck -<br>
<br>
Cheers,<br>
<font color="#888888">Eliezer Kanal<br>
PhD Candidate, Bioengineering<br>
Laboratory for Computational Neuroscience<br>
University of Pittsburgh<br>
</font><div class="Ih2E3d"><br>
<br>
<br>
On Feb 22, 2009, at 10:55 PM, Greg Osenbach wrote:<br>
<br>
> Hmm.. This just seems to give me an error<br>
><br>
> "Sample is not a property of the Object"<br>
><br>
> Suggestions?<br>
><br>
> My line of code:<br>
> Debug.Print "Row = " + str(c.GetAttrib(BlockList.Sample))<br>
><br>
> And:<br>
> If (c.GetAttrib(BlockList.Sample) = Lot1) Then<br>
>     Lot1CE = CEValue<br>
> End If<br>
> If (c.GetAttrib(BlockList.Sample) = Lot2) Then<br>
>     Lot2CE = CEValue<br>
> End If<br>
><br>
> Thanks,<br>
> Greg<br>
<br>
<br>
<br>
<br>
<br>
</div><div><div></div><div class="Wj3C7c"><br>
</div></div></blockquote></div><br>
<br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group. <br> To post to this group, send email to e-prime@googlegroups.com <br> To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com <br> For more options, visit this group at http://groups.google.com/group/e-prime?hl=en<br>
-~----------~----~----~----~------~----~------~--~---<br>
<br>