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

IMHO, object's name cannot contain "(" and ")".

MartinaJ

>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
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform