11. marts 2004 - 13:36Der er
3 kommentarer og 1 løsning
problemer med val-funktionen
Når jeg forsøger nedenstående kode med værdien 32000 i variablen MinStrengVærdi, bliver der skrevet 32000 i debug-vinduet, men hvis jeg prøver med f.eks. 4017001, bliver der IKKE skrevet noget! Hvorfor?
I was just writing a comment so you can have this for free :o)
If you write
?val(32000) or ?Val(4017001)
in the debug window then you should see that they do both work
MinVarX = Val(MinStrengVærdi)
If MinVarX is an Integer and MinStrengVærdi contains 4017001 then this will NOT work. This is because ann integer can only hold a value up to 32767!
So you have to change the data type of MinVarX from an integer to a LONG integer which can hold a MUCH larger value.
I cant see where MinVarX is defined so I cant tell you where you need to chaange it. But if it is a varaible in cod ethen change it there. If it is in a table then change it there!
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.