TsDBRadiogroup – List index out of range

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51576
    CheshireCat
    Participant

    Hello Siegbert,

    your database is already open when the line below is executed?

    Code:
    Application.CreateForm(TfrmSettings, frmSettings);

    I suspect an access to data fields of a closed database.

    #51577
    Siegbert
    Participant
    'CheshireCat' wrote:

    Hello Siegbert,

    your database is already open when the line below is executed?

    Code:
    Application.CreateForm(TfrmSettings, frmSettings);

    I suspect an access to data fields of a closed database.

    The Database is open. The query is opened in datamodule and datamodule is created before the settings-form.

    Siegbert

    #51578
    Siegbert
    Participant

    I solved it:

    the property “itemindex” was set to 1. Resetting it to -1 solved the problem.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.