SQL Question (Return a value if none exists).

Acutally you can, but not with the standard BO setup for SQL server. You need the ANSI join syntax to do it, to get BO to generate the sql that way, you need to modify your PRM file.

LEFT_OUTER= 
RIGHT_OUTER= 
OUTERJOINS_GENERATION=ANSI_92 

See https://bobj-board.org/t/19226/3


Scott Bowers :us: (BOB member since 2002-09-30)