Another question about combo Box

A place for users and developers of the Xataface to discuss and receive support.

Another question about combo Box

Postby Jean » Tue Jan 27, 2009 9:13 am

Hi Steve,
I am building a menu like in the example of Province/City
http://xataface.com/forum/viewtopic.php?t=4150
I have 3 select boxes dependent on each other.
The difference with the province example is that they come from 3 different tables the first is connected with the second one in a table and the third one is connected with the second one in another table.
Do you think that to perform this trick, I need to have all my foreign keys in the same table ?
Thank you again
Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France

Postby shannah » Tue Jan 27, 2009 11:47 am

Hi Jean,

It should work without having the foreign keys all in the same table. Just as long as the city table has a fk to the province table, and the province table has a fk to the country table.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Jean » Wed Jan 28, 2009 8:00 am

Thank you Steve for your quick answer. Yes you are right, everything is in the example. I had an error in my code.
Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 17 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved