Show / Hide Table of Contents

GetNextSubcaseID

Object and Type

Object  : FCSession

Type     : Method

Prototype

Public Function GetNextNumSubcaseID(ByVal CaseID As String, ByVal 
                                    CaseCondID As Long) As String

Description

This method is returns the next available ID number for a subcase for the given case.

Parameters

Parameter Name Required? Description
CaseID Yes The ID Number of the case
CaseCondID Yes The objid of the condition record for the case

Returns

A string that is the the next available ID number for a subcase of the case.

Example

The following example gets the next ID number for a subcase of a previously-found case.

VisualBasic:

Dim boCase As FCGeneric
Dim sub_id As String

Set boCase = fc_session.CreateGeneric
boCase.SimpleQuery "case"
boCase.AppendFilter "id_number", "=", "44"
boCase.Query

sub_id = fc_session.GetNextSubcaseID(boCase("id_number"),
boCase("case_state2condition"))
Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.