Home » Developer & Programmer » Forms » how to connect database
how to connect database [message #516463] Mon, 18 July 2011 05:56 Go to next message
praja78
Messages: 3
Registered: July 2011
Location: Hyderabad
Junior Member
while new form open i need to connect the data base.
please suggest me do this
Re: how to connect database [message #516464 is a reply to message #516463] Mon, 18 July 2011 06:18 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you check the LOGON built-in?

What does a "new form" mean? A form opened with NEW_FORM or CALL_FORM or OPEN_FORM? If so, it means that it has been called from another form, which also means that you are already connected to the database.

If a "new form" is the very first form you run, which version is it? If client-server (6i), you may include connect string (username/password@database) into the shortcut icon on your desktop. If it is deployed on the web, use NCS.

If I misundestood the question, could you explain it with some more details, please?
Re: how to connect database [message #516471 is a reply to message #516464] Mon, 18 July 2011 07:06 Go to previous messageGo to next message
praja78
Messages: 3
Registered: July 2011
Location: Hyderabad
Junior Member
thanks for reply,
I had a design an application with oracle forms.
initailly we had connected to the one data base server. now i want to change the database connectivity instantly to other data base server for the new form.
thanks in advance.
Re: how to connect database [message #516472 is a reply to message #516471] Mon, 18 July 2011 07:09 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
OK, so do changes necessary to connect to another database at the same place where you set connection to an existing database.
Re: how to connect database [message #516475 is a reply to message #516472] Mon, 18 July 2011 07:12 Go to previous messageGo to next message
praja78
Messages: 3
Registered: July 2011
Location: Hyderabad
Junior Member
yes, you got my point.
do you have any idea about my query.
i need the steps what can i do for this

[Updated on: Mon, 18 July 2011 07:14]

Report message to a moderator

Re: how to connect database [message #516476 is a reply to message #516475] Mon, 18 July 2011 07:15 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Quote:
initially we had connected to the one data base server

Now connect to another. I don't know where and how you did that, but I suppose you do (actually, you *should*).
Previous Topic: Forms Personlization
Next Topic: Update mode
Goto Forum:
  


Current Time: Sun Sep 08 23:06:14 CDT 2024