I have installed the messages table and Now I'm getting the
following error message on the call to
gnv_app.inv_error.of_SetPredefinedSource(SQLCA)
----------------------------------------
Predefined Message “pfc_dwdberror” not found

Message Arguments:
1) A database error has occurred

Database error code 2

Database error message
Select error:

[Yes] [No] [Cancel]

Here is a snippet of code from my App

start :
// get the application ini file
ls_inifile = gnv_app.of_getAppInifile()

open(w_cms_logon_load)
user_setup = Message.PowerObjectParm
ls_user_id = user_setup.user_id
ls_password= user_setup.password

// get parameters for the transaction object
//NEXT
if SQLCA.of_Init(ls_inifile, "Security") = -1 then
Messagebox(ls_inifile, "Error initializing from "
+ls_inifile)
HALT CLOSE
END IF

//connect to the database
if SQLCA.of_Connect() = -1 then
ls_msg = SQLCA.SQLERRTEXT
Messagebox("CONNECT DATABASE ERROR", ls_msg, StopSign!)
GOTO start
end if


if (gnv_app.inv_error.of_SetPredefinedSource(SQLCA) = -1)
then
ls_msg = SQLCA.SQLERRTEXT
Messagebox("SETPREDEFINEDSOURCE ERROR", ls_msg,
StopSign!)
GOTO start
end if

Vita

> Thanks for your response .. the problem I have
> understanding is that this only occurs for 1 login when
> the data is the same regardless. I will nevertheless look
> at the error handling service.
>
> > This should actually be in the PFC section. How are you
> > defining the source for the text for the error handling
> > service?
> >
> > On 12 Oct 2004 12:51:44 -0700, mdavis@espeed.com wrote:
> >
> > >Using:
> > >-- PB 8.0.1 Build 8004
> > >-- Adaptive Server Enterprise/12.5.2/EBF 11941
> > >ESD#1/P/Sun_svr4/OS 5.8/ase1252/1838/32-bit/FBO/Sat May
> > 29 >09:42:35 2004
> > >
> > >I'm getting the following message:
> > >
> > >For one login to the PB App
> > >
> > >
> > > Predefined Message "pfc_dwdberror" not found
> > > The Predefined Messages not found
> > >
> > >This is occurring from "Treeview" code.
> > >
> > >When the window initially displays .. it does with data
> > >based on 1 (the default) of 2 radio buttons selected .
> > It >is when I click on the
> > >other that I get the message.
> > >
> > >Also ..
> > >
> > >I use many logins to access the PB App but it is only
> > with 1 >particular login that genrates the meassge.
> > >
> > >Any ideas.
> > >
> > >Marvita