Hi All,
I have been wroking on the databse for a while now and am on the stage of creating forms. I am trying to create a subform at the moment but am having some problems.
I am using the wizard to create the form and add the necessary fields as below:
The tables are as follows:
tblTourBookings
(Main Table linked to others)
Tour ID (Primary Key)
Client ID
(lots of other fields that are unimportant and unlinked)
tblTourDetails (this is kind of the equvalent of a shopping list and is the subform)
TourID (Composite Primary Key)
CostID (Composite Primary Key)
DayPrice
tblToursOffered (this is like the inventory of products - but in this case it is tours)
CostID (Primary Key)
TourName
Itinerary
DayPrice
There is a client table linked to ClientID and Credit card table linked to that in a one to one relationship.
I Create a form with the following tables in it:
TourID
ClientID
CostID
TourName
DayPrice
The latter three go into a subform but when I choose from a combo box for CostID (which currently only displays the autonumber as generated in tblToursOffered). The problem is that when I select a number i get an error message:
"The Value you Entered for this Field isn't Valid Error
For Example, you may have entered text in a numeric field or a number that is larger than the FieldSize setting permits."
It will not allow me to enter any value without displaying the error message.
Any advice or help would be much appreciated and the databse can be sent via e-mail is needed.
Many thanks in advance
Edd