ODBC namespace identifier

new topic     » topic index » view thread      » older message » newer message

Hi,

I am using odbc.e with the name space identifier ODBC in the
Begin area of WinMain() window.

include odbc.e as ODBC



I have also included a library mss.ew of my own routines after odbc.

include mss.ew



Now, I have written a procedure in mss.ew which accesses ODBC:getData()
function, but ODBC name space identifier is not recognised.

I get following error:

D:\EUPHORIA\IDE\Projects\Syndicate ODBC\mss.ew:155
ODBC has not been declared
    		rec_data = ODBC:getData(sysmsgs_hndl)
    		              ^

Only when I move the concerned procedure to the General area of the window
where ODBC is accessed, the name space identifier is recognized and system
works fine.

Is it a problem with ODBC or am I doing something wrong?
How can I avoid having my own routine outside mss.ew?

Regards,
Rad.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu