This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Alert page .. (Example)
#1
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:
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?
Reply


Messages In This Thread
Alert page .. (Example) - by buuuudzik - 06.10.2016, 06:24
RE: Alert page .. (Example) - by buuuudzik - 06.10.2016, 07:32
RE: Alert page .. (Example) - by buuuudzik - 07.10.2016, 06:22
RE: Alert page .. (Example) - by buuuudzik - 07.10.2016, 08:44

Forum Jump: