updateNewDBElement() Method

Table of Contents

  1. Function
  2. Syntax
  3. Parameters
  4. Return Value
  5. Sample Code
  6. Remarks
  7. Possible Errors
  8. Related Methods

Function

  • Updates an existing database element

Syntax

  • AeXMLBridge.updateNewDBElement(AeNewDBElement);

Parameters

Return Value

  • None

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
12
13
TAeNewDBElement[] elements = ws.extractNewDBElements(0);                      
// 0 = open

elements[0].Descr = "New Description here";

try
{
ws.updateNewDBElement(elements[0]);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
9
10
Dim elements As TAeNewDBElement() = ws.extractNewDBElements(0)
' 0 = open

elements(0).Descr = "New Description here"

Try
ws.updateNewDBElement(elements(0))
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

Possible Errors

  • Invalid data entered

ClientServerDateTime
extractNewDBElements
getActiveStatusConditions
getBaseClientData
getBrowserProfilesSimple
getClockGroupsSimple
getClockGroupStationsSimple
getClustersSimple
getClusterStationsSimple
getCompanyName
getCurrentBrowserProfileMenuItems
getHourlyStatusTypesSimple
getInactiveStatusConditions
getManuallySelectedSetupData
getPayClassesSimple
getPayDesignationsSimple
getPayPeriodClassData
getPayPeriodClasses
getPayTypes
getReasonCodesSimple
getSiteEnvironment
ServerUTCDateTime
setBaseClientData

Back to Top