0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

テスト94

Posted at

'Accessのフォームに対するコード
Private Sub コマンド36_Click()

'○書式
'DoCmd.OpenForm フォーム名, フォームを開いた際のビュー, フィルターの名前, 抽出条件, データ入力モード, ウィンドウモード

'○DoCmd.OpenFormの「抽出条件」を使う時の注意点
'表示するフォームに対して、事前に表示させたいデータの
'テーブルまたはクエリを設定しておく必要がある...〆('ω' )メモメモ

DoCmd.OpenForm "練習フォーム", acNormal, , "グループID='3'", acFormEdit, acDialog, txtbox1.Value

End Sub

'------------------------------------------------

Private Sub Form_Open(Cancel As Integer)

If Not IsNull(Me.OpenArgs) Then

    Me.txt報告3.Value = Me.OpenArgs

End If
    
End Sub
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?