/
Space after Comma
Object Manager
Space after Comma
The guidelines of NAV says that you cannot put a space after a comma. Many developers like to place there a comma anyway. In the setup you can choose which method the Object Manager has to check.
If you choose the option Mandatory your code have to look like this:
IF NOT PrinterSelection.GET(USERID, ReportID) THEN
IF NOT PrinterSelection.GET('', ReportID) THEN
IF NOT PrinterSelection.GET(USERID, 0) THEN
IF PrinterSelection.GET('', 0) THEN;
If you choose the Prohibited setting your code has to look like this:
IF NOT PrinterSelection.GET(USERID,ReportID) THEN
IF NOT PrinterSelection.GET('',ReportID) THEN
IF NOT PrinterSelection.GET(USERID,0) THEN
IF PrinterSelection.GET('',0) THEN;
It is also possible to leave this option blank. The Object Manager will not check for spaces after comma.
, multiple selections available,
Related content
PowerShell
PowerShell
More like this
Coding Checks
Coding Checks
More like this
Company Checks
Company Checks
More like this
Regional Settings
Regional Settings
More like this
Check Guidelines to meet Microsoft requirements
Check Guidelines to meet Microsoft requirements
More like this
Check Transferfields
Check Transferfields
More like this
IDYN 2024