Hi,
I'm currently trialling PHP Runner version 3.1 Build 218. I am very new to the whole PHP/Database thing so forgive any ignorance displayed.
I'll try to explain my request in in simple terms. I have a table for accounts, a table for addresses and a reference table containing address information for the United Kingdom. The account table has an id column and then the usual name, e-mail, phone, etc. The addresses has the foreign key link of account id and then Address line1, address line 2, town, city etc. In theory an account holder can have multiple addresses. So when a user creates a new account, they should also be populating the address table with the address information linked by the account id. I've set up a table view for that and think I'm on the right track - if I'm not, please any advice would be welcome.
My main problem is around using the lookup tables. When the account is being created, through the table view I'm trying to set the address fields to point to and look up the data from the address reference table. The first part seems ok where I select the table, link field, display field and unique values. That tests ok. When I try to use the dependent feature, that's when it goes wrong. So the first look up would be County, followed by Town then postcode. Town should be dependent on County. For this the category control doesn't make sense because all it gives to me for selection are the fields from the account table and none of them work. I would've expected the category control options to be showing columns from the address reference table as well?
The next scenario would be a change to address details once the account had been created. This should then be supported by the edit page on the same table view so that the user could use the lookup function to select from the addresses they had already entered or create a new one. If someone could talk me through that I'd be really grateful.
I'm finding PHP Runner really useful as previously I had tried dbqwiksuite and am on the point of giving up with it. DBQWiksite I found to be too 'clunky', changes seemed to take an age to work through and page creation I found a bind. Also the forum is fantastic, no other way to describe it.
Many thanks