Hello
i wondering if anybody could help me with this "simple" question:
I need to declare a variable (max_nog_leveren ) but that variable may not be rouded or only after 5 digits so as example 15,xxxxx
I am now using it as a "Integer" but that is not working very well..
Can you help me by telling me what I should be using?
Many thanks,
Koen
i wondering if anybody could help me with this "simple" question:
I need to declare a variable (max_nog_leveren ) but that variable may not be rouded or only after 5 digits so as example 15,xxxxx
I am now using it as a "Integer" but that is not working very well..
Can you help me by telling me what I should be using?
Many thanks,
Koen
Code:
Dim iRet As Integer
Dim strPrompt As String
Dim strTitle As String
Dim max_nog_leveren As Integer
Dim strQuery As String
Dim nettohoeveelheid_toevoegen As String
Me.nettogewicht_toevoegen.Value = (Me.hoeveelheid_bruto_toevoegen.Value * Me.RestAfval_tara_toevoegen.Value) / 100
Me.nettogewicht_toevoegen.Value = Me.hoeveelheid_bruto_toevoegen.Value - Me.nettogewicht_toevoegen.Value
nettohoeveelheid_toevoegen = Me.nettogewicht_toevoegen.Value
max_nog_leveren = Me.Hoeveelheid.Value - som_Netto_gewicht_DB ' hoeveelheid nog te leveren tot contract 100% klaar is.