Clifton Liles wrote:
Drew Jensen wrote:
Drew Jensen wrote:
Girard Aquino wrote:
Basically, what I want to happen is:

- client approaches staff and asks for supply
- staff enters ID number and if
- client already has an entry in database, staff just adds the new supplies the client needs which goes to the SUPPLIES table - client is not in database, staff creates a new entry in the CLIENT table and enters supplies given accordingly.


I created a form using the wizard and set the SUPPLY as a sub-form of the main form which uses the fields of the CLIENT table (e.g. ID, FirstName, LastName). Now when I enter data in the ID, say 1234, if there is an existing entry under the Supplies table that is associated with the primary key, in this case, ID in the CLIENT table, the items show up on the form.

What I would like to happen is to have the FirstName and LastName show up as well when an existing ID is entered in the form that is already existing in the CLIENT table. It's kinda like a search form, that tells you when there is an existing entry already. Do i need to create a separate table that will duplicate the FirstName and LastName fields so that they show up when an existing ID in entered? Or should there be a separate form to do "searching" and another one to enter new data?


Actually you are quite close to having what you want. There is a problem with your tables with regards to the relationship link between them but after that most of the functionality you want is already thee in the Base application.


Hi Drew and others
.... I do have a comment on the DB design. If I was doing this I would like a third table of supplies.

something like this; Name, quantity, reorder level, cost, comments.

In your 'Dispense Supplies' Item should allow one to select one of the items in the 'Supplies' table,

it should decrement the quantity

maybe do something if the count is below the reorder level.

As it is ...you could get several different names for one item

I found that if you go back and look at an old record the filed is blanked.

What I would like is , if the field has a value, that value should be displayed, if there is no value, then a drop down list of values.


Hi Cliff,

A very sound set of requirements.
What do you think Girard?
Is this the first (next) change you would make to this database?

Best Wishes,

Drew



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to