Lookup the default invoice number

SOLVED

Hello All

Is there away to lookup the default invoice number using a ODBC query? This has to work on Quantum 2010.

Thank you,

Nick