If null ?????

Résolu
petiflamand Messages postés 675 Date d'inscription samedi 31 mai 2003 Statut Membre Dernière intervention 26 mai 2013 - 24 nov. 2006 à 22:45
TMONOD Messages postés 256 Date d'inscription mardi 25 novembre 2003 Statut Membre Dernière intervention 6 novembre 2009 - 24 nov. 2006 à 23:40
Bonjour j'essaye de faire ceci
 If rs!prix_achat = Null Then
   rs!prix_achat = "0,00"
   End If

Mais sa marche pas comment je peu faire Merci

2 réponses

TMONOD Messages postés 256 Date d'inscription mardi 25 novembre 2003 Statut Membre Dernière intervention 6 novembre 2009 1
24 nov. 2006 à 23:40
Bonsoir,
Ou if isnull(rs!prix_achat ) then ...

Jcbé[^]
3
DavidWhitewater Messages postés 81 Date d'inscription lundi 10 avril 2006 Statut Membre Dernière intervention 1 janvier 2010
24 nov. 2006 à 23:06
Salut, comment est déclaré ta variable 'rs!prix_achat' ?
En Vb 2005 pour tester si une variable est null ont fait :

If Variable is Null then ...

A plus.
0
Rejoignez-nous