P
PAULinLAOS
I work in tourism. We have a form that we collect every month from
guesthouses that has a list of all nationalities and then columns for the
lenght of stay. It looks like this:
Country 1Day 2Day 3Day 4ormore Total
America 5 6 1 0 12
Armenia 3 0 0 2 5
Brazil 0 0 1 1 2
So, there were a total of 12 americans who stayed at the guesthouse, 5 who
stayed 1 day, 6 who stayed 3 days and no one who stayed 4 or more days.
I have one table that has a list of all of the countries with an ID for
each. And I have a table that has 5 fields: 1 for the country ID, 1 for
'1Day', another for '2day', another for '3day' and one more for '4ormore'.
It's easy to make a data entry form for this. The problem is that with this
structure, I have to type in, or select from a combo box the country. I want
to make a form that shows ALL of the countries with four columns for lenght
of stay (1day, 2day etc) so that I can simply enter numbers in the columns.
I tried a different database structure where I made a separate field for
each country/length of entry, but that amounted to over 255 fields! Not a
good structure.
Any idea how I could keep the structure but make a form that makes it look
more like a datasheet with ALL countries showing and four columns for the
lenght of stay?
Paul
guesthouses that has a list of all nationalities and then columns for the
lenght of stay. It looks like this:
Country 1Day 2Day 3Day 4ormore Total
America 5 6 1 0 12
Armenia 3 0 0 2 5
Brazil 0 0 1 1 2
So, there were a total of 12 americans who stayed at the guesthouse, 5 who
stayed 1 day, 6 who stayed 3 days and no one who stayed 4 or more days.
I have one table that has a list of all of the countries with an ID for
each. And I have a table that has 5 fields: 1 for the country ID, 1 for
'1Day', another for '2day', another for '3day' and one more for '4ormore'.
It's easy to make a data entry form for this. The problem is that with this
structure, I have to type in, or select from a combo box the country. I want
to make a form that shows ALL of the countries with four columns for lenght
of stay (1day, 2day etc) so that I can simply enter numbers in the columns.
I tried a different database structure where I made a separate field for
each country/length of entry, but that amounted to over 255 fields! Not a
good structure.
Any idea how I could keep the structure but make a form that makes it look
more like a datasheet with ALL countries showing and four columns for the
lenght of stay?
Paul