11-17-2005 05:03 AM
11-18-2005 04:39 AM
Set XDate = CreateObject("Scripting.Dictionary")
for row=1 to cl("DATE")
XDate.add chdx(row,cno("DATE")),row
next
i = 0After creating the 3D structure of the matrix I am filling it, accumulating the conumtion values if there are more than one event for a certain animal on a certain day.
for each row in XDate.keys
i=i+1
chdx(i,chX) = row
XDate.item(row)=i
next
cl(ChX)=i
for i = 1 to cl("CONSS")
row= XDate.item(chdx(i,cno("DATE")))
col= YAnimal.item(chdx(i,cno("ANIMAL")))+ChZ0
chdx(row,col)=chdx(row,col)+chdx(i,cno("CONSS"))
next
11-21-2005 02:49 AM
Hello Ingo,
All the channels in Daily Totals group are NoValues. I tried these to find the solution but it was impossible. Is it maybe because I use DIAdem 9.0? Then, what do I have to change?
Thank you very much!!
11-22-2005 12:43 PM
11-23-2005 03:54 AM
Hello Ingo,
The X and Y channels are also filled with NoValues and the channels are really called "ANIMAL" and "DATE".
I tried what you suggested and I add messagebox lines. The message showed always the same number "63235987200". I am a little bit lost with this problem.
11-24-2005 11:30 AM
11-28-2005 11:23 AM
11-29-2005 12:15 AM
11-29-2005 04:42 AM
Hello IngoS,
The row 51 is:
48 for i = 1 to cl("CONSS")
49 row= XDate.item(chdx(i,cno("DATE")))
50 col= YAnimal.item(chdx(i,cno("ANIMAL")))+ChZ0
51 chdx(row,col)=chdx(row,col)+chdx(i,cno("CONSS"))
52 next
11-29-2005 07:50 AM