Hello, through code
[code]
If Not IsNull (Me.cmbCd) Then
DoCmd.OpenForm "Recensione_personale" acNormal, "", "[IdCd] = [Forms]! [Recensione_personale]! [CmbCd]," acEdit, acNormal
end If
[code]
I get that it opens a mask. I wish they would not open if it is not present in the data table "recensione_personale"
MioTitolo = DLookup ("[recensione_personale]", "lista_cd", "[idcd] =" _
& "'" & Forms! Ricerca_cd! Lista.Column (0) & "'")
If Not IsNull (Me.lista) And Len (MioTitolo)> 0 Then
DoCmd.OpenForm "Recensione_personale" acNormal, "", "[Title] = [Forms]! [Ricerca_cd]!
[List]," acEdit, acNormal
else
Exit Sub
'MsgBox "No personal review", vbInformation, "..: Warning: .."
end If