Quantcast
Channel: Forum SIG - Systèmes d'Information Géographique et Géomatique
Viewing all articles
Browse latest Browse all 8030

[ArcGIS 9.x] field Max

$
0
0
Bonjour à tous,

j'ai a calculer un champ sous arcgis ce champ qui doit représenter les valeur max pour 8 champs
j'ai monté un code mais quand je revérifie le résultats je trouve pas par tout le max
je sais pas pourquoi!!!
voila mon code si il y a des modification :koi:



Code:

Dim max as integer
  max = [IQ_DCO]
If [IQ_DCO] < [IQ_DBO5] Then
  max  = [IQ_DBO5]
ElseIf [IQ_DBO5]  < [IQ_NH4] Then
  max  = [IQ_NH4]
ElseIf [IQ_NH4]  < [IQ_CF] Then
  max  = [IQ_CF]
ElseIf [IQ_CF]  < [IQ_PT] Then
  max  = [IQ_PT]
ElseIf [IQ_PT] < [IQ_O2DSS] Then
  max  = [IQ_O2DSS]
ElseIf [IQ_O2DSS] < [IQ_NO3] Then
  max  = [IQ_NO3]
ElseIf [IQ_NO3] < [IQ_PO4] Then
  max  = [IQ_PO4]
End If


Viewing all articles
Browse latest Browse all 8030

Trending Articles