Hallmark Inn - Davis, California
SELECT Profiles.ProfileName, Room.*, RoomOption.*, ProfilesRooms.RoomPrice, ProfilesRooms.RoomNumber FROM Room INNER JOIN (RoomOption INNER JOIN (Profiles INNER JOIN ProfilesRooms ON Profiles.PID = ProfilesRooms.PID) ON RoomOption.OID = ProfilesRooms.OID) ON Room.RID = ProfilesRooms.RID WHERE Profiles.ProfileName = 'GENERIC' and Profiles.Location = '#thisHotel#' ORDER BY Room.RoomName, RoomOption.OptionName
Please verify that the following information is correct:
 
Group Name #form.GroupName#
Name #form.UserName#
Address #form.UserAddress#
#form.UserCity#, #form.UserState# #form.UserZip#
Phone #form.UserPhone#
FAX #form.UserFax#
Email #form.UserEmail#
Reservation Type #ListGetAt(ReservationTypeDesc, ListFind(ReservationTypeList,ReservationType))#
Payment Type #ListGetAt(PaymentTypeDesc, ListFind(PaymentTypeList,PaymentType))#
Reservation Dates #ReservationDates# No Dates Chosen
Rooms Requested #Evaluate(curField)# #Evaluate(curFieldDesc)#
None
Event Name #form.EventName#
Event Location #form.EventLocation#
Event Dates #EventDates#
Event Description #ParagraphFormat(form.EventDesc)#
Notes #ParagraphFormat(form.UserNotes)#

insert into Profiles ( ProfileName, Location, EventName, EventLocation, EventDateBegin, EventDateEnd, EventDesc, CreatedBy, CreatedDate, Active ) values ( '#ProfileName#', '#thisHotel#', '#form.EventName#', '#form.EventLocation#', #CreateODBCDate(form.EventDateBegin)#, #CreateODBCDate(form.EventDateEnd)#, '#form.EventDesc#', 'Website Submission', #timeStamp#, TRUE ) select PID from Profiles where CreatedDate = #timeStamp# insert into ProfilesUsers ( PID, GroupName, UserName, UserAddress, UserCity, UserState, UserZip, UserPhone, UserFAX, UserEmail, UserNotes, UserRoomInfo, ReservationType, PaymentType, ReservationDateBegin, ReservationDateEnd, Completed, SubmittedDate ) values ( #GetPid.PID#, '#form.Groupname#', '#form.UserName#', '#form.UserAddress#', '#form.UserCity#', '#form.UserState#', '#form.UserZip#', '#form.UserPhone#', '#form.UserFAX#', '#form.UserEmail#', '#form.UserNotes#', 'Submitted Generic Request - Rooms Listed in Profile', '#form.ReservationType#', '#form.PaymentType#', #CreateODBCDate(form.ReservationDateBegin)#, #CreateODBCDate(form.ReservationDateEnd)#, FALSE, #CreateODBCDateTime(Now())# ) select * from Room where Location='#thisHotel#' and Active=Yes select * from RoomOption where Location='#thisHotel#' and Active=Yes SELECT ProfilesRooms.*, Profiles.ProfileName, Profiles.Location FROM Profiles INNER JOIN ProfilesRooms ON Profiles.PID = ProfilesRooms.PID WHERE Profiles.ProfileName = 'GENERIC' and Profiles.Location = '#thisHotel#' select RoomPrice from GetGenericPrice where rid = #curRoomID# and oid = #oid# insert into ProfilesRooms ( PID, RID, OID, RoomPrice, RoomNumber ) values ( #GetPid.PID#, #curRoomID#, #oid#, #GetGenericPriceSpecific.RoomPrice#, #Evaluate(curFormRoomField)# ) #form.UserName#, Your group request for rooms was received on #DateFormat(Now(),"mmmm d")# at #TimeFormat(Now(),"h:mm:ss tt")#. ============================================== Group: #form.GroupName# Event: #form.EventName# Event Location: #form.EventLocation# Event Dates: #DateFormat(form.EventDateBegin,"mmm d, yyyy")# - #DateFormat(form.EventDateEnd,"mmm d, yyyy")# Event Description: #form.EventDesc# Reservation Dates: #form.ReservationDates# Payment: #ListGetAt(PaymentTypeDesc, ListFind(PaymentTypeList,form.PaymentType))# Reservation: #ListGetAt(ReservationTypeDesc, ListFind(ReservationTypeList,form.ReservationType))# #roomListing# Name: #form.UserName# Address: #form.UserAddress#, #form.UserState# #form.UserZip# Phone: #form.UserPhone# FAX: #form.UserFAX# Email: #form.UserEmail# ============================================== A #whoThisMin# representative will be in contact with you shortly. Sincerely, #whoThis# #contactInfo#

Your room request has been successfully submitted.

We have e-mailed you a copy of your request for your records.

Please be aware you have made a room request, not a reservation. A #whoThisMin# representative will contact you within two business days to guarantee your reservation. Thank you for choosing to stay at #whoThisMin#.

Please feel free to call us at #whoThisPhone# if you have any questions or concerns.

#introtext#

Please fill out the form below to request a block of rooms for your group. The sales department will get back to your request as soon as possible.

Enter your contact information below:
Group Name
Name
Address
City
State Error. Length of State Codes does not match length of State names.
Zip Code
Phone Number (Daytime)
FAX Number
E-mail
Reservation Type
Payment Type
Arrival Date Click Here to Pick the Date Begin Date
Departure Date Click Here to Pick the Date End Date
 
Enter your room preferences below:
Room Type # of Rooms Requested
#RoomName# #OptionName#
 
Enter your event information below:
Event Name
Event Location
Event Dates Click Here to Pick up the date Begin Date
  Click Here to Pick up the date End Date
Event Description
 
Enter any additional information below:
Notes