Re: newby question

Connie Cocanougher <[email protected]> Wed, 09 Aug 2006 10:18:48 -0400
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
That you!!!! It compiled!!!!!!   But when I tried to run, I got the message:

         The function 'fgl_init4js' has not been defined in any module in
the program.

But if I take it out, I get:

n=connect host=localhost port=6400 syserr=239 Connection refused
Program stopped at 'testcust.4gl', line number 83.
FORMS statement error number -6300.
Can not connect to GUI.

I seem to remember from playing around with Dynamic 4GL years ago that
fgl_init4js() or something similar was required at the beginning of
existing code to make it play with the GUI.   I'm thinking I'm probably
missing an environment variable or something, but not sure what to look for.


>To Whomever this concerns
>
>Try giving the max(date_prepared) an alias like max(date_prepared) mdate
>and see if that works.
>
>John Endsley
>
>Fourth Generation Software
>700 Galleria Parkway
>Suite 480
>Atlanta, Georgia 30339  USA
>770.432.7623  Ext. 4889
>800.374.6157  Ext  4889
>770.432.3448  Fax
>
>
>-----Original Message-----
>From: [email protected] [mailto:[email protected]] On
>Behalf Of Connie Cocanougher
>Sent: Monday, August 07, 2006 4:47 PM
>To: [email protected]
>Subject: [fourjs-users] newby question
>
>
>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
>
>
>  
>