iankerry
Registered User.
- Local time
- Today, 16:55
- Joined
- Aug 10, 2005
- Messages
- 190
Hi
I have a continuous form that lists dates of film screenings, date time and which film is being screened.
a combo box list all the films (this isn't quite true but see later!) we have on our database.
When the user types in a new film that isnt on the list, a box comes up saying essentially "do you want to add it". If you click yes, then another form is loaded, the FormFilms. All is well so far...
The complication is that we often have several copies of a film, so i have a films table AND a filmcopies table, which are linked (in the filmcopies table there is a FilmID field which relates to the film title). So technically the drop down box mentioned above is a list of film copies, not film titles.
Anyhow, when the form opens to add a new film i run into problems.
1. i can't add a new film title, unless i make the form Dynaset (Inconsistent Updates) and i am not sure of the consequences of this...
2. i cant get what the user has already typed in to be the start of the new record.
3. but even using inconsistent updates, i still have the problem that when i add a new film, i need to get the new FilmID into the Filmcopies table, and i can't do that until i have saved the new record and have been allocated a new FilmID. Is there a way around this?
4. when i go back to the form, i cant seem to requery the combo so that the film is automatically entered!!!!
I have been googling and playing this for ages. Any help really appreciated.
i have attached a cut down version of the forms/tables as it is really hard to explain.
thanks
ian
I have a continuous form that lists dates of film screenings, date time and which film is being screened.
a combo box list all the films (this isn't quite true but see later!) we have on our database.
When the user types in a new film that isnt on the list, a box comes up saying essentially "do you want to add it". If you click yes, then another form is loaded, the FormFilms. All is well so far...
The complication is that we often have several copies of a film, so i have a films table AND a filmcopies table, which are linked (in the filmcopies table there is a FilmID field which relates to the film title). So technically the drop down box mentioned above is a list of film copies, not film titles.
Anyhow, when the form opens to add a new film i run into problems.
1. i can't add a new film title, unless i make the form Dynaset (Inconsistent Updates) and i am not sure of the consequences of this...
2. i cant get what the user has already typed in to be the start of the new record.
3. but even using inconsistent updates, i still have the problem that when i add a new film, i need to get the new FilmID into the Filmcopies table, and i can't do that until i have saved the new record and have been allocated a new FilmID. Is there a way around this?
4. when i go back to the form, i cant seem to requery the combo so that the film is automatically entered!!!!
I have been googling and playing this for ages. Any help really appreciated.
i have attached a cut down version of the forms/tables as it is really hard to explain.
thanks
ian