Support Home Sales Website Technology Contact Us
RDP Support  


RDPWin KB Booking Engine - IRM.Net RDPWin4 & PCI Compliance Search

Creating a UPD File (Creating a program that automatically adds records to menus)

Added 10/09/02 - Article ID#: K000107

Problem:

You wish to create a file that can update the RDP "TABLFILE" with records from another RDP System. This is achomplished with a "UPD" file, which is a file with an extension of UPD, such as RDP1202.UPD.R

Solution:

Many times, a UPD file can be created in order to add menu options in a second directory.  For example, at properties with more than one RDP directory, a custom report may be required in both systems.  Rather than updating the "X?" H0 tables in both directories, a UPD file may be created from the original location and then ran in the second directory.  A UPD file automatically adds sub-records to system tables.  In the following example, report #444 is being added to a UPD file.  The report exists on the Front Desk Reports menu (table XF).
  1. From the System Manager menu, select option "99" - "System Utilities Menu".
  2. Select option "997" - "UPD File Utility".
  3. Select option "4" - "Add/Replace record to UPD file".
  4. Enter the UPD file name.  In this case, name the file 444.UPD.
  5. At the "Table/Sub-Record" prompt, enter the table and sub-record that will be copied to the UPD file.  In this case, the first table and sub-record is "XF444" (no quotes).  By entering "XF444", the system adds sub-record 444 from table XF to the UPD file.
  6. Next, add the table corresponding table H0 sub-record for report 444. (Normally, this will be sub-record 444).
  7. Once all records are added to the new UPD file, <ESCAPE> to the RDP Main Functions menu and login to the second RDP directory.
  8. After logging in to the second RDP directory, go to the System Utilities menu (99) and select option "997" - "UPD File Utility".
  9. Select option "1" - "Update TABLFILE.DAT from UPD file".
  10. The system prompts for a "UPD File Name", enter "444.UPD" (no quotes). 
  11. Tables H0 and XF are updated with the new report sub-records.  A new option, 444, appears on the Front Desk Reports menu in the second directory.
  • NOTE: UPD files are also useful for copying entire custom menus between systems.  In order to add an entire menu to a UPD file, use the "*" wildcard.  For example, if a custom menu has been created using the "Y1" table, and the entire menu to a UPD file by entering the "Table/Sub-Record" as "Y1*".
Support Home  RDPWin4 & PCI Compliance Enhancement Requests Open A Web Support Ticket
Training New Sales Website Old Sales Website Contact Us

 Facebook     Twitter      LinkedIn   TODF