Coding issues

bknight
BronzeLounger
Posts: 1353
Joined: 08 Jul 2016, 18:53

Re: Coding issues

Post by bknight »

Here is the complete

Code: Select all

Private Sub Quantity_AfterUpdate()
    DoCmd.OpenForm "frmAction", acFormDS
        
        With Me.ActionID
        .SetFocus
        .SelStart = 0
        .SelLength = 0
        End With
End Sub

bknight
BronzeLounger
Posts: 1353
Joined: 08 Jul 2016, 18:53

Re: Coding issues

Post by bknight »

I fixed it

Code: Select all

Private Sub Quantity_AfterUpdate()
    DoCmd.OpenForm "frmAction", acFormDS
    DoCmd.OpenForm "frmTrades", acFormDS
        
        With Me.ActionID
        .SetFocus
        .SelStart = 0
        .SelLength = 0
        End With
End Sub
[code]

xps35
NewLounger
Posts: 14
Joined: 27 Sep 2022, 07:22
Location: Schiedam, NL

Re: Coding issues

Post by xps35 »

I always thought forums like this were for sharing ideas between users so that everyone could learn from them.
If you are going to talk 1 on 1 I better remove this forum from my favorites.
Groeten,

Peter