Operand error without operator

Bonjour,
In the same table, I have a field [instal_type] with a dropdown menu that includes an entry "citerne". I have another field [capacite] that I only want to show and fill if I have selected "citerne" in the dropdown menu of the [instal_type] field. In the design mode of my table, on the visible line, I entered:

If [instal_type] = "Citerne" Then
[instal_capacite].Visible = True
Else
[instal_capacite].Visible = False
End If

But an error message tells me "you may have entered an operand without an operator"...
Thank you in advance for your help!

1 answer

  • Votes
  • Date
  • Descending date
  1. Contributor
    Hello, I cannot find a "visible if" line in the table definition.