I have a (headerless) custom-file, in which I (among a lot of other things) write a record into a database table which has an ID field with auto_increment set.In PHPMaker 2023 the following code worked:
The insert works without error and AUTO_INCREMENT is set in the database. The same code works in PHP Maker 2023.Could it have to do something with the change of the DBAL in PHPMake 2024?
No, because you select last insert ID directly by SQL yourself, the result comes from the database. Are you sure you have AUTO_INCREMENT field in the table “files” (not just “set in the database”)?