hi
i have a access database (250mb)
when access run this line,
i get:
run time error : 6
Overflow
if i do:
that work fine........ access don't seem to like: jour >=....... and jour <= ........
any idea?
thanks
i have a access database (250mb)
when access run this line,
i get:
run time error : 6
Overflow
Code:
totaldga = DSum("nombre_dga", "tbExcel", " jour >= " + "#" & Me.txtDateDebut & "#" + " and jour <= " + "#" & Me.txtDateFin & "#" + " and heure_debut >= " + "#" & Me.txtHeureDebut & "#" + " and heure_fin <= " + "#" & Me.txtHeureFin & "#" + " and transit in (" & Left(strIN, Len(strIN) - 1) & ")")
if i do:
Code:
totaldga = DSum("nombre_dga", "tbExcel", " jour >= " + "#" & Me.txtDateDebut & "#" + " and heure_debut >= " + "#" & Me.txtHeureDebut & "#" + " and heure_fin <= " + "#" & Me.txtHeureFin & "#" + " and transit in (" & Left(strIN, Len(strIN) - 1) & ")")
that work fine........ access don't seem to like: jour >=....... and jour <= ........
any idea?
thanks
Last edited: