Re: API:Only Data field names and Ids

2014-08-20 Thread Sweety
I am using .Net APIs for this program. Below program is working fine but it is taking 5 to 10 minutes to fetch the fields. Dim Result = Access.server.GetAllFields(HPD:Help Desk).Values Dim name, Id As String Dim Datatype As Integer For Each

Re: API:Only Data field names and Ids

2014-08-20 Thread LJ LongWing
Sweety, As I don't use the .NET, I can't give direct help, but in the Java version, there in a way to specify which attributes of a field you want to pull back, with the default being 'all'...if all you are looking for is those 3 attributes, but you are pulling back ALL attributes of all fields,

Re: API:Only Data field names and Ids

2014-08-20 Thread Sweety
Thanks LJ. I am also sure how to restrict a function to fetch only three values in .Net. How can I find the field label name using field id and view id? Any function ? ___ UNSUBSCRIBE or access ARSlist Archives at

Re: API:Only Data field names and Ids

2014-08-20 Thread LJ LongWing
no clue in .NET On Wed, Aug 20, 2014 at 9:39 AM, Sweety sweetykhann...@gmail.com wrote: Thanks LJ. I am also sure how to restrict a function to fetch only three values in .Net. How can I find the field label name using field id and view id? Any function ?

Re: API:Only Data field names and Ids

2014-08-15 Thread Sweety
Hello LJ, ---Code- Dim fieldsArrayList Dim fieldsIdsArray fieldsArrayList = Access.server.GetListField(HPD:Help Desk) fieldsIdsArray = fieldsArrayList.ToArray() fieldsArrayList = Nothing Dim

Re: API:Only Data field names and Ids

2014-08-15 Thread Sweety
Hi Dean, I converted your code to VB.Net still not working Dim Result = Access.server.GetAllFields(HPD:Help Desk).Values For Each VARIABLE In Result MsgBox(DirectCast(VARIABLE, BMC.ARSystem.Field).Name) MsgBox(DirectCast(VARIABLE,

Re: API:Only Data field names and Ids

2014-08-15 Thread Sweety
Tried some tricks and found the cause; MsgBox(Hello1) Dim Result = Access.server.GetAllFields(HPD:Help Desk).Values MsgBox(Hello2) Hello1 is displaying when I call a function but not Hello2. May be issue with a GetAllFields method only.

Re: API:Only Data field names and Ids

2014-08-14 Thread Sweety Khanna
Hi Misi, How to check the datatype of the field?? On 8/8/14, Misi Mladoniczky m...@rrr.se wrote: Hi, The ARGetMultipleFields() which will give you enough details to figure out which fieldids you want. You must look at the data type of the field to determine if it is a data bearing field.

Re: API:Only Data field names and Ids

2014-08-14 Thread LJ LongWing
Sweety, Once you have the Field, you can use a .getDataType(), which returns an Int, which you can then compare with DataType.* where * is the type of field that you are looking for. On Thu, Aug 14, 2014 at 12:51 PM, Sweety Khanna sweetykhann...@gmail.com wrote: Hi Misi, How to check the

API:Only Data field names and Ids

2014-08-08 Thread Sweety
Hello List, It has been a quite long I haven't talked to you guys. Hoping all are good and enjoying. I want to fetch the list of data fields only with names and their ids. I have tried using method GetListField but it is giving me all the fields on the form including buttons, panels etc. I

Re: API:Only Data field names and Ids

2014-08-08 Thread Misi Mladoniczky
Hi, The ARGetMultipleFields() which will give you enough details to figure out which fieldids you want. You must look at the data type of the field to determine if it is a data bearing field. If the data type is = 14 the field can hold data. You should use the constant AR_MAX_STD_DATA_TYPE

Re: API:Only Data field names and Ids

2014-08-08 Thread LJ LongWing
Sweety, I would recommend using this method. the 'fieldTypeMask' should use Contstants.AR_Field_TYPE_DATA, this will give you only fields. Secondly, with the 'FieldCriteria' object, you can specify what data to pull back, so you want ID and Name only, you specify it there. getListFieldObjects