def getRecordInfo( dbid, rid )

      @dbid, @rid = dbid, rid

      xmlRequestData = toXML( :rid , @rid )
      sendRequest( :getRecordInfo, xmlRequestData )

      @num_fields = getResponseValue( :num_fields )
      @update_id = getResponseValue( :update_id )
      @rid = getResponseValue( :rid )

      @field_data_list = getResponseElements( "qdbapi/field" )

      return self if @chainAPIcalls

      if block_given?
         @field_data_list.each { |field| yield field }
      else
         return @num_fields,  @update_id, @field_data_list
      end
   end
def getRecordInfo( dbid, rid )

      @dbid, @rid = dbid, rid

      xmlRequestData = toXML( :rid , @rid )
      sendRequest( :getRecordInfo, xmlRequestData )

      @num_fields = getResponseValue( :num_fields )
      @update_id = getResponseValue( :update_id )
      @rid = getResponseValue( :rid )

      @field_data_list = getResponseElements( "qdbapi/field" )

      return self if @chainAPIcalls

      if block_given?
         @field_data_list.each { |field| yield field }
      else
         return @num_fields,  @update_id, @field_data_list
      end
   end
API_GetRecordInfo