CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Submit button disappears when add another table to Data Source

Print topic Send  topic

Author Message
boz

Posts: 3
Posted: 09/19/2007, 3:35 AM

Hi i am a newbie to all of this.
Many hours i have been tolling for a solution to this problem.
i am working in PHP

i have a main table which is in the editable grid (great works a treat - the submit button),
however,
when i put another table into the Data source, and then make a label to access the data from the other table.

RESULT:
the submit button goes off the page.

WELL WHAT DID I DO?
looked up hours on the forum and at the CCS guides/info.:-P

Looking at some older articles In the forum it was suggested that the label should be activated in the events: as a show before----then add code.

RIPPING MY HAIR OUT TIME NOW.:-@

Looked at code ( eyes boggle - whatttttttt):-(

Can someone help to decipher it for me pleaseeeeee. Put me some sample code down.:-)

My connection is 'pdr1db'
the table is 'tb_nladmin'
the field is 'progression'

i am enjoying discovering all that CCS can do, my limited experience is from MS Access.
View profile  Send private message
ckroon

Posts: 869
Posted: 09/19/2007, 6:18 AM

Try making the relationship between the two tables a Left Join.

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
wkempees


Posts: 1679
Posted: 09/19/2007, 8:20 AM

When using multi-table SQL you need to use the CustomInsert, CustomUpdate and CustomDelete, all available in the Properties of the grid.

Although this seems a bit scary at first it is in fact quite easy to do.
This is not a flaw of CCS, it is the inability to predict what main table you want to be updated.
There is a warning message, you might have missed it.

Have fun.
Check manuals for Custom Update.

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
boz

Posts: 3
Posted: 09/19/2007, 1:50 PM

Your suggestion worked a treat Walter:-)

Many thanks
View profile  Send private message
wkempees
Posted: 09/19/2007, 4:13 PM

always a pleasure.
Walter


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.