I am using VFP9 SP2 and have 3 tables, consisting of customer information (table1), pet information (table2) and booking information (table3). Both table2 and 3 are linked to customer table. I am trying to rewrite an old 2.6 application and still pretty new to VFP9.
A customer can have multiple pets with multiple bookings. Past history has indicated that a maximum of 7 pets per customer.
My problem is that the user wants to see the pet information in the following format.
Pet 1 Pet 2 Pet 3 Pet 4.....
Name
Breed
Code
DOB..
I have 14 attributes for a pet, so I tried to struture the pet table in 1NF with one record per pet, but I am not sure how I can then get the information from the table into the above format? The original application was in 2.6, and was not normalised so all the pet information for a customer was held in one record.
Any advice would be gratefully accepted.
thanks
sue
A customer can have multiple pets with multiple bookings. Past history has indicated that a maximum of 7 pets per customer.
My problem is that the user wants to see the pet information in the following format.
Pet 1 Pet 2 Pet 3 Pet 4.....
Name
Breed
Code
DOB..
I have 14 attributes for a pet, so I tried to struture the pet table in 1NF with one record per pet, but I am not sure how I can then get the information from the table into the above format? The original application was in 2.6, and was not normalised so all the pet information for a customer was held in one record.
Any advice would be gratefully accepted.
thanks
sue