Skip to content

Add setter for AddInPrepareProcedure database property - #106

Merged
josef-poetzl merged 2 commits into
devfrom
feature/save-prepare-procedure
Nov 29, 2026
Merged

josef-poetzl merged 2 commits into
devfrom
feature/save-prepare-procedure

Conversation

@josef-poetzl

@josef-poetzl josef-poetzl commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Allows setting the database property AddInPrepareProcedure manually in the development file.

  • AddInConfiguration.SaveToCurrentFile now also saves PrepareProcedure (ACLib class). An empty value removes the property, because DAO cannot create a text property with an empty value.
  • New private helper _config_Application.SetAddInPrepareProcedure (run with F5 in the VBE): sets the property to CheckAccUnitTypeLibFile.

Tested in a build from a copy of the source: setting a value, a custom value and removal (twice) through AddInConfiguration - USysRegInfo and AppTitle stay unchanged. The private helper is no longer reachable via Application.Run; running it with F5 is to be checked manually.

Note: the change in AddInConfiguration.cls has to be exported back to the CodeLib.

@josef-poetzl
josef-poetzl merged commit 0b601db into dev Nov 29, 2026
1 check passed
@josef-poetzl
josef-poetzl deleted the feature/save-prepare-procedure branch November 29, 2026 20:47
@josef-poetzl josef-poetzl mentioned this pull request Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant