I am having trouble reading the FaxID after I have selected a log entry. SelectedFaxID always comes up 0. LoginIndex always changes like it should.
procedure TMainForm.FaxManClick(Sender: TObject);
var i : integer ;
SelectedLogIndexEdit.Text := IntToStr(FaxMan.LogIndex) ;
SelectedFaxID := FaxMan.FaxLogID ;
SelectedFaxIDEdit.Text := IntToStr(SelectedFaxID) ;
The LofID(idx) property is the one you want, if you want the ID for the selected row then use something like:
id := faxman1.LogID( faxman1.LogSelectedRow );
Thanks for your interest in our products and please let us know if you have any questions.
Data Techniques Support
Thank you. That was what I needed.
This question is closed to new answers.