ich habe foglenden Code:
Code: Alles auswählen
Sub open_Kontakdaten(iId as Integer)
Dim oDoc as Variant
Dim oForm as Variant
Dim id as Object
ThisDatabaseDocument.FormDocuments.getByName("Kontakt").open
oDoc = StarDesktop.CurrentComponent
oForm = oDoc.DrawPage.Forms(0)
oForm.filter = "ID = " + iId
oForm.ApplyFilter = true
oForm.reload
id = oForm.getByname("ID")
id.BoundField.getInt
id.BoundField.updateInt(iId)
End Sub
Code: Alles auswählen
id.BoundField.getInt
Vielen Dnk für jede Hilfe!
Gruß
Christian