Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread database params
Sun, Apr 16 2017 11:04 AMPermanent Link

Ronald

Hi,

In a EWB app (2.06) for a databasemodule I set the Databasename like this:

Database.BaseURL:='databasemodules/ewbmodule';
Database.DatabaseName:='18CQ0000';

But if I press F12 in the browser and look at my query being sent to the server, I do not see the correct databasename, it is still "Default". Even if I try to add a param this is not being added to the query.

In another app (same version etc.) I do not have this problem.

Am I overlooking something?

Greetings,
Ronald
Mon, Apr 17 2017 9:02 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ronald,

<< In a EWB app (2.06) for a databasemodule I set the Databasename like this:

Database.BaseURL:='databasemodules/ewbmodule';
Database.DatabaseName:='18CQ0000';

But if I press F12 in the browser and look at my query being sent to the server, I do not see the correct databasename, it is still "Default". Even if I try to add a param this is not being added to the query.

In another app (same version etc.) I do not have this problem.

Am I overlooking something? >>

Probably.  I can't replicate what you're seeing here.  If you want to send me a cut-down sample project that reproduces what you're seeing, I can look further.

Are you using any explicit databases in your EWB application, or only the global Database instance ?

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Apr 17 2017 10:32 AMPermanent Link

Ronald

Tim Young [Elevate Software] wrote:

<Are you using any explicit databases in your EWB application, or only the global Database instance ?>

I use the global Database, but after restarting my laptop this morning, the problem disappeared, I will keep an eye on this, it must be me.

Ronald
Image