Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Variable is not Defined (List) (Verification: Thin Client)

Forum

Search UsersRules
Variable is not Defined (List) (Verification: Thin Client)
#1
Active user
Points:: 2
Joined:: Sep 16, 2011

Please assist: I wrote the following code in the Catalog.Contractors.ListForm:
&AtClient
Procedure DescriptionOnChange(Item)
   If Object.FullDescription = "" Then
       Object.FullDescription = Object.FullDescription;
   EndIf;
EndProcedure
It produced the following error message:
{ Catalog.Contractors.Form.ListForm.Form (4,8)}: Variable is not defined (Object)
<<?>>If Object.FullDescription = "" Then (Verification: Thin Client)
But if I’m doing the same for the Catalog.Contractors.ItemForm, it works just fine!

Profile
#2
Active user
Points:: 1
Joined:: Jul 20, 2011

This is because there is no Object form attribute for the ListForm. There is a List attribute which contains not a single object as in ItemForm, but a list of them.

Profile
#3
Active user
Points:: 2
Joined:: Sep 16, 2011

Thank you! That was helpful!

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.