What is going on in the Ceil Inn tutorial here:
http://www.functionx.com/access/appl...ns/ceilinn.htm
it asks for a receipt number which I do not have. The receipt number is the primary key and hence this will not work.
I used the occupancy number instead - it was generated by the program discussed before this section. Thus no receipt number
use occupancy number as primary key - correct?
We already know that
- In the Navigation Pane, right-click Payments Occupancies and click Design View
- Right-click ReceiptNumber and click Primary Key
- Complete the table as follows:
Field Name Data Type Caption Field Size Format OccupancyNumber Occupancy Number EmployeeNumber Text Processed By 20 DateOccupied Date/Time Date Occupied Long Date AccountNumber Text Processed For 20 RoomNumber Text Room # 10 RateApplied Number Rate Applied Double Fixed PhoneCharge Number Phone Charge Double Fixed Notes Memo - Close and save the table
- To create a form, on the Ribbon, click Create and, in the Forms section, click Form Design
- Save the form as Occupancies
- Using the Properties window, set its Record Source as Occupancies
- Design the form approximately as follows: