What is the current row in a list

Chris Blais cblais at berkeley.edu
Mon Feb 23 04:43:22 UTC 2009


Hmm...I've never actually used the .sample method. Have you tried 
calling it as BlockList.Sample (in the same way as you might call 
Target.RT)?

Greg Osenbach wrote:
> Hmm.. This just seems to give me an error
> 
> "Sample is not a property of the Object"
> 
> Suggestions?
> 
> My line of code:
> Debug.Print "Row = " + str(c.GetAttrib(BlockList.Sample))
> 
> And:
> If (c.GetAttrib(BlockList.Sample) = Lot1) Then
>     Lot1CE = CEValue
> End If
> If (c.GetAttrib(BlockList.Sample) = Lot2) Then
>     Lot2CE = CEValue
> End If
> 
> Thanks,
> Greg
> 
> On Sun, Feb 22, 2009 at 10:31 PM, Chris Blais <cblais at berkeley.edu 
> <mailto:cblais at berkeley.edu>> wrote:
> 
> 
>     It will be found in the .edat file. Or, it you need to see it in
>     real-time for debugging you can write an inLine:
> 
>     debug.print "ListName_Row=" & ListName.Sample
> 
>     where ListName is the name of the list and the .sample numbers range
>     from 1 to the number of items in the list and they numbered in the order
>     in which they appear in the list.
> 
>     Greg Osenbach wrote:
>      > Hi guys.  I am struggling with this one.
>      >
>      > How do I determine what the current row in a list my experiment is
>      > using?  I have been messing around with this one for hours.  If
>     anyone
>      > can point me int he correct direction, it would be most appreciated.
>      >
>      > Thanks,
>      > Greg
>      >
>      > >
> 
> 
> 
> 
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---



More information about the Eprime mailing list