tabbed form each tab shows the entry from a field from the a table

G

Guest

I have a personal kennel program. At the moment I have a form with the
Clients info & a sub form with each of the dog's info. I have the sub form
set up as a single form view with each of the dog's information shown.

Question: Is there a way that I can make a form that shows the client info
AND have a tabbed form with each tab shows each dog? I have a table called
Dogs. In that table I have a field called DogName with (lets say) Rover,
Jake, Sam, etc.

I want a tabbed field with Tab 1 showing Rover's info.

Now if a client has 2 dogs (Jake & Sam), then tab 1 will show Jake & Tab 2
will show Sam.

Is there a way to do this? What the thinking behind building a tabbed form
like this?
 
J

Jeff Boyce

Aside from the difficult coding you will need to do to get the form to
dynamically decide how many tabs to use, have you given thought to the
extreme condition? If someone has 37 dogs, do you really want to try to
show that many tab pages on a form?

Another approach might be to use a main form for the client, a combo box to
list all the dogs, and a single subform to list all the dog-info for the ONE
dog selected from the combo box.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
G

Guest

HLarkin,

Perhaps a more flexable approach to your situation might be to have a
Listbox in your subform that would display all of the pets for a peticualr
client. Then when one pet was selected, you would simply display the info
for the selected pet in your form. This way you can have as many pets (dogs)
as you want, and all will be displayed in the listbox you do not have the
limitations that you would have with the tab approach.

--
HTH

Mr B
email if needed to:
draccess at askdoctoraccess dot com
 
G

Guest

I can understand what you are talking about with the coding & I was thinking
that it was not going to be simple to do. I have learned so much about
Access, but I think I will stick to the list box or the approach I have at
the moment.

The tabbed idea will be a good challange in the future.

Thank you for ya'll insite.

Helena
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Tabbed Form Design 1
tabbed forms - tab 3 link to tab 2 1
Sync Tabbed Form 1
Print tabbed form 7
Tabbed Forms 4
Sub form validations 4
Objects repeating in Tabbed Sections 3
Tab control & formatting 12

Top