How to block access to part of a database in a program after the end of your trial period?

How to block access to part of a database in a program after the end of your trial period? 

The program will continue accessing, reading and saving information in the database but a column of data should be locked showing “locked” as a result. 

Could anyone help me? 

Once done I’ll let everyone who helped me to download it.

I think the best way would be to limit the access in the LUA code.

For example:

local isTrial = true local data = {} data[1] = {} data[1].name = "John" data[1].exclusiveData = "Crazy apple" for i = 1, #data, 1 do if isTrial then print("Name: " .. data[i].name .. ", Exclusive Data: Locked, please buy me!") else print("Name: " .. data[i].name .. ", Exclusive Data: " .. data[i].exclusiveData ) end end

Best regards,

Tomsa

I think the best way would be to limit the access in the LUA code.

For example:

local isTrial = true local data = {} data[1] = {} data[1].name = "John" data[1].exclusiveData = "Crazy apple" for i = 1, #data, 1 do if isTrial then print("Name: " .. data[i].name .. ", Exclusive Data: Locked, please buy me!") else print("Name: " .. data[i].name .. ", Exclusive Data: " .. data[i].exclusiveData ) end end

Best regards,

Tomsa