x11 Posted May 14, 2020 Share Posted May 14, 2020 Чем отличаются ColumnFromFieldName и ColumnByName? col := dbgData.ColumnByName('id');// так работает col := dbgData.Columns.ColumnFromFieldName ('id');// так ошибка if Assigned(col) then col.ShowSummary := True else MessageBox(constError, 'col not assigned'); под ошибкой подразумеваю, что col not assigned Quote Link to comment Share on other sites More sharing options...
x11 Posted July 30, 2020 Author Share Posted July 30, 2020 up Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 1, 2020 Share Posted August 1, 2020 On 5/14/2020 at 9:38 PM, x11 said: под ошибкой подразумеваю, что col not assigned Я не смог воспроизвести. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 1, 2020 Share Posted August 1, 2020 On 5/14/2020 at 9:38 PM, x11 said: под ошибкой подразумеваю, что col not assigned 3 minutes ago, Sherzod said: Я не смог воспроизвести. Хотя, Вы должны учитывать чувствительность к регистру. Quote Link to comment Share on other sites More sharing options...
x11 Posted August 4, 2020 Author Share Posted August 4, 2020 Тут вопрос в том, чем отличаются между собой эти две метода? Какой когда/где использовать? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.