---
title: "AddDatasetPictureAsLink (Opus Funktion)"
---
[TOC]

#### Beschreibung

Creates a dataset picture record that links to an existing picture rather than storing its own binary content.

#### Argumente

<table style="table-layout: fixed; width: 100%;"><colgroup><col style="width: 26.3%"><col style="width: 11.8%"><col style="width: 61.9%"></colgroup><tr><th><p><strong>Name</strong></p></th><th><p><strong>Typ</strong></p></th><th><p><strong>Beschreibung</strong></p></th></tr><tr><td><p>Name</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/">string</a></p></td><td><p>display name of the link</p></td></tr><tr><td><p>Filename</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/">string</a></p></td><td><p>Dateiame des Bildes</p></td></tr><tr><td><p>TableName</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/">string</a></p></td><td><p>Name der Tabelle (zB: &#x27;SSP_Address&#x27;)<br>table identifier of the owning record</p></td></tr><tr><td><p>RecordID</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a></p></td><td><p>ID of the owning record</p></td></tr><tr><td><p>LinkedDatasetPictureID</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/blob/">blob</a></p></td><td><p>ID of the existing dataset picture to link to</p></td></tr><tr><td><p>InformationTypeID</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a></p></td><td><p>(optional) Informationstyp<br>ID of the information type; 0 = none</p></td></tr></table>

#### Rückgabewert [integer](../../standard-datentypen/integer.md)

Neue i_SSE_DataasetPictureID
ID of the newly created dataset picture link record

#### Beispiel

| `Li_PictureID = AddDatasetPicture(Ls_PictureName, Ls_FileName, "SSP_Address", Li_AddressID, HexToBin(Ls_PictureBinaryData));` |
| --- |

#### Siehe auch

---
