Comment 1 for bug 541396

Revision history for this message
Andrew Johnson (anj) wrote :

I don't think this is likely to be possible anytime soon; only the record type code knows which fields make up the possible menu choices, and the record types don't get initialized until iocInit(), which currently can only happen after all the .db files have been loaded.

If we ever implement the ability to create new record instances while running it might be possible to use dbLoadRecords() after iocInit() in which case the desired behavior should be possible (as long as the VAL field is defined after the relevant ??ST field has been set). However I suspect there would be a significant loss of performance doing this; the current parser was written assuming the database is inactive when it runs, so it doesn't bother with things like record locking, recalculating lock-sets or adding records to the periodic scan lists.