예제 #1
0
        /// <summary>
        /// Gets the field value.
        /// </summary>
        /// <param name="fieldNo">The field no.</param>
        /// <returns></returns>
        internal string GetFieldValue(int fieldNo)
        {
            string fieldValue;
            int    result = _Record.GetFieldValue(fieldNo, out fieldValue);

            if (result != 0)
            {
                throw CSideException.GetException(result);
            }
            return(fieldValue);
        }
예제 #2
0
        public int NextRecord(INSRec record)
        {
            int    a = 1;
            String b;

            record.GetFieldValue(a, out b);
            Debug.WriteLine("NextRecord=" + b);
            CallBack callbackTab = new CallBack();

            Debug.Indent();
            record.EnumFieldValues(callbackTab);
            Debug.Unindent();
            lastRec = record;
            return(1);
        }