various data in one row (1 Viewer)

guihualinux

New member
Local time
Today, 01:19
Joined
Feb 14, 2022
Messages
8
hi guys. I´m trying put various data in one row. Like this:

1644861390089.png



It is possible? Does someone know how to do?
 

jdraw

Super Moderator
Staff member
Local time
Yesterday, 19:19
Joined
Jan 23, 2006
Messages
15,394
Can you describe to readers what this data and layout represent? Any context info would be appreciated.
 

guihualinux

New member
Local time
Today, 01:19
Joined
Feb 14, 2022
Messages
8
Can you describe to readers what this data and layout represent? Any context info would be appreciated.
It´s about hotels rooms.


Room number | Type (number of people allowed in the room) | Views | Guest | Date

And i´m tryingo to put 2 guests in one room.
 

jdraw

Super Moderator
Staff member
Local time
Yesterday, 19:19
Joined
Jan 23, 2006
Messages
15,394
Well, you are posting in a Access (database) forum, so there are some critical concepts with relational database that may apply. Each table contains information about a single subject. You may also research Normalization

It´s about hotels rooms.
Suggests, there could be guests/occupants of a hotel room(s). Occupancy could be for 1 or many Days.

So you may be looking at tables for:

Guest/Customer
Room
RoomType
Occupancy/Booking

The facility has 1 or many Rooms
At any time 1 or more rooms may be occupied
At any time 1 or more rooms could be undergoing maintenance and be unavailable
At any time 1 or more rooms could be available for booking
1 or more guests could make a Booking
A booking is a rental for 1 or more rooms by 1 or more guests for a stated period of time
The facility's rooms may be of 1 or may types
.....
Draft data model from Barry Williams' site that may offer some insight.
 
Last edited:

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 16:19
Joined
Oct 29, 2018
Messages
21,528
Hi. Welcome to AWF!

You can do that using a Report.
 

Gasman

Enthusiastic Amateur
Local time
Today, 00:19
Joined
Sep 21, 2011
Messages
14,417
Set Hide Duplicates to Yes in the detail line.
 

Pat Hartman

Super Moderator
Staff member
Local time
Yesterday, 19:19
Joined
Feb 19, 2002
Messages
43,444
The hide duplicates applies to REPORTING. You NEVER hide duplicates in a table, query, or form. Access is not Excel. When you have repeating data in a table, you almost always have a design problem. The repeating data belongs in a parent table and the specific data belongs in a child table with a reference to the parent. The reference field is called a foreign key (FK for short). The FK in the child table = the PK (primary key) of the parent table and that connects the two tables so you can pull the data together when you need to.
 

Gasman

Enthusiastic Amateur
Local time
Today, 00:19
Joined
Sep 21, 2011
Messages
14,417
I thought the output looked like a report?
 

guihualinux

New member
Local time
Today, 01:19
Joined
Feb 14, 2022
Messages
8
The hide duplicates applies to REPORTING. You NEVER hide duplicates in a table, query, or form. Access is not Excel. When you have repeating data in a table, you almost always have a design problem. The repeating data belongs in a parent table and the specific data belongs in a child table with a reference to the parent. The reference field is called a foreign key (FK for short). The FK in the child table = the PK (primary key) of the parent table and that connects the two tables so you can pull the data together when you need to.
Ok understook, thank you bro
 

Users who are viewing this thread

Top Bottom