Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Microsoft アクセスに関する簡単な質問です。まだ1週間ほどしか使っていないので、わからないことがたくさんあります。
サブフォームを含むフォームがあります。サブフォームにはコンボボックスがあります。ユーザーがサブフォームのコンボボックスで値を選択すると、メインフォームのテキストボックスに、ユーザーがコンボボックスから選択したものを表示したい.
私はそれが非常に難しいとは思わない.コードがどうあるべきか分からない. 前もって感謝します!
サブフォーム コンボの After Update イベントを使用して、メイン フォームを として参照できますMe.Parent。コードは次のようになります。
Me.Parent
Me.Parent.txtTextBox = Me.cboCombo