Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange 1575 - object name is invalid error
Message
From
27/06/2008 08:26:26
 
 
To
24/06/2008 16:28:05
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01326492
Message ID:
01327195
Views:
9
Oscar,

I am afraid you will have to produce more coding, e.g. what are the other conditions.
otherwise check in the debugger for the defined variables when you reach #7

Your coding syntax as such works, however I had to change as follows:
and please note I dont like the use of your abbrevation m as variable definition at all
with thisform
	for lnI = 1 to 7
		lnCnr = "(" + allt(str(i)) + ")"
		.addobject("Cal" + lnCnr, "DiaCalendario2", i, "thisform.lblDesc", m.luM, pkNov)
		.addobject("Enc" + lnCnr, "EncabDia")             && ERROR HERE WHEN i=7 ONLY
		.Cal(lnI).move((lnI-1) * 50 + px, py + 22)
		.Cal(lnI).visible = .t.
		.Enc(lnI).move((lnI-1) * 50 + px, py)
		.Enc(lnI).visible = .t.
	endfor
endwith
Regards,

Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform