掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
DBComboBoxの表示? (ID:4758)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
常套手段でいきましょう。 下のだとEmpNoフィールドが取得できます。 procedure TForm1.Button1Click(Sender: TObject); var intTest: integer; strTest: string; begin Table1.open; with Table1 do begin for intTest := 0 to RecordCount -1 do begin dtrTest := FieldByname('EmpNo').AsString; ComboBox1.Items.Add( strTest ); next; end; end; Table1.Close; end;
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.