Beispiel für die Veränderung von Datensatzinhalten während der Bearbeitung

Beschreibung:

Das Feld "Firma" in der aktuellen Eingabemaske bearbeiten.

VBScript:

<!--#pragma keepeditmode-->

 

Dim oInputForm : Set oInputForm = cRM.CurrentProject.ActiveViews.ActiveView.CurrentInputForm(2)

 

Call oInputForm.SetContentsValueByName("Firma", "combit Software GmbH")

Call oInputForm.Save()

C#-Script:

//<!--#pragma keepeditmode-->

InputForm inputForm = cRM.CurrentProject.ActiveViews.ActiveView.CurrentInputForm(2);

 

inputForm.SetContentsValueByName("Firma", "combit Software GmbH");

inputForm.Save();

TypeScript:

import {

    cRM,

    InputForm

 } from "./sdk/combitCRM.SDK.WindowsClient.v13";

 //<!--#pragma keepeditmode-->  

 

const inputForm : InputForm = cRM.CurrentProject.ActiveViews.ActiveView.CurrentInputForm(2);

 

inputForm.SetContentsValueByName("Firma", "combit Software GmbH");

inputForm.Save();