Now I got rid of the overflow of this request, giving a long one, but now I get
Error 94: Invalid use of NULL
Can someone tell me what could be the problem?
SQL query:
Sum(CLng( [TotaalPrijs]/([tbl_ArtikelsPerOrder]![Aantal]*[Totaal])* [tbl_ArtikelVerwijderdUitZaaglijst]![Aantal] )) AS GezaagdeOmzet
One or more column values NULL, and this cannot be converted to an integer, therefore causing this error. Try wrapping a value in a function Nz, for example.Nz([My_value],0)
NULL
Nz
Nz([My_value],0)
This will make it return 0if found NULL.
0
NULL. NULL, Integer, , .
Integer
SQL Query:
Sum(CLng( Nz( [TotaalPrijs]/([tbl_ArtikelsPerOrder]![Aantal]*[Totaal])* [tbl_ArtikelVerwijderdUitZaaglijst]![Aantal], 0 ) )) AS GezaagdeOmzet
It is impossible to say for sure without additional information, but TotaalPrijsor AantalNULL in your data?
TotaalPrijs
Aantal
Source: https://habr.com/ru/post/1728046/More articles:Python Sockets - creating a message format - pythonIs an IO exception raised if the disk is full? - c #MPMoviePlayerController воспроизводит видео второй раз - objective-cClear visibility for "internal" members - c #.NET Is it possible to have a context menu for a list item with a list? - c #DLLImport failed in Mono (linux): icall_wrapper_mono_marshal_free - monoFolder Resolution? - c #Change author name in TortoiseSVN - svnВыбор технологии backend для веб-запуска - web-applicationsMoving an unusual tree in Python - pythonAll Articles