Operand error without operator

blandineb_b Posted messages 1 Status Member -  
yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   -
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

  1. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   Ambassadeur 1 588
     
    Hello, I cannot find a "visible if" line in the table definition.
    0