I just checked the docs (although they are for an older version) and there is also a GetFieldNames method that returns both the IDs and field names for all fields, so that would work also - assuming it's still there in the newer version.
Dan -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Tim Widowfield Sent: Monday, August 07, 2006 11:10 AM To: [email protected] Subject: Re: API + VBScript : list of fields in a from I couldn't find a GetListField() method anywhere in the ARSystem .NET help file (ARSystem.NET.chm). Perhaps you were thinking of the Server.GetAllFields() method. Here's a sample from the CHM file: Dim fields Set fields = server.GetAllFields(formName) Dim field For Each field In fields Next My brain isn't wired for Visual Basic, so I'll just assume that makes sense. --Tim http://www.widowfield.com ----- Original Message ---- From: BALU Frédéric To: [email protected] Sent: Monday, August 7, 2006 6:51:51 AM Subject: [ARSLIST] API + VBScript : list of fields in a from Hello, I'm trying to get the list of fields in a form. Could you hel me ? Dim ARserverObject Set ARserverObject = CreateObject("BMC.ARSystem.Server") ARserverObject.Login(SERVER_NAME, SERVER_USERNAME, SERVER_PASSWORD, "" ) ??? ARserverObject.GetListField(SchemaName ) ??? Regards, -- _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

