CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Adding STRAIGHT_JOIN to a MySQL SELECT statement

Print topic Send  topic

Author Message
dunechi1d

Posts: 23
Posted: 05/14/2009, 11:40 AM

I need to add the STRAIGHT_JOIN MySQL command after the SELECT statement of a particular datasource. (Without the STRAIGHT_JOIN a search to one of the joined tables in the datasource just hangs but with this addition it works)

I couldn't find how to add this using the GUI SQL datasource builder so instead of the GUI I wrote my own SQL statement.

The problem is that at some point CodeCharge issues a 'SELECT Count(*)' of the SQL statement disregarding the STRAIGHT_JOIN (presumably the count(*) is performed for the navigation calculations). There is no Event I know of where I can effect the SQL statement of the count(*) and thus the SQL still hangs.

Any help will be appreciated!

Danny
View profile  Send private message
datadoit
Posted: 05/15/2009, 4:37 AM

See the help file and look for CountSQL.
dunechi1d

Posts: 23
Posted: 05/15/2009, 7:15 AM

Thanks so much datadoit !

I opened a support ticket 3 days ago with this question but it's been ignored so far...

Danny
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.