06.10.2016, 06:24
Hello,
I've tried to use the example from openrb.com:
http://openrb.com/alert-page-in-visualiz...ification/
But there is a problem somewhere here:
What is the problem?
I've tried to use the example from openrb.com:
http://openrb.com/alert-page-in-visualiz...ification/
But there is a problem somewhere here:
Code:
if Page_Adding == true then
-- Create alert page if alert page doesn't exist
db:insert('visfloors', {building = alert_page_building, layout = alert_page_layout, sortorder = highest_sortorder, name = Alert_Page_Name, bgrepeat = 0, bgfixed = 0, adminonly = 0, width = alert_page_width, height = alert_page_height,})
end
-- Get page number of new created alert page
alert_page_number = db:getone('SELECT id FROM visfloors WHERE name=?', Alert_Page_Name)
What is the problem?