newby question

Connie Cocanougher <[email protected]> Mon, 07 Aug 2006 16:47:04 -0400
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
Any idea why I would get an error with this when trying to compile using
BDS?

   select max(date_prepared) into h_last_ship
| A grammatical error has been found at 'select' expecting: $ FUNCTION
REPORT.
| See error number -6609.
      from sncordm
      where custnum = p_accust.cust_code