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.

Create/ copy widget in visu
#10
(25.11.2019, 15:12)admin Wrote: Do this, it will return an error if something is wrong:

Code:
res, err = db:insert('visobjects', element)
log(res, err)

As for nil keys: setting table key to nil deletes the key, accessing non-existing keys return nil.

OK, this did it. In my table I had a line for PIN code, and apparantly that is no longer a coloumn in the Visobjects table. It did work on the old HW, but not the new one. Has this changed in a way?

I removed the line with PIN code as I am not using it anyway, so now the script works.
There are 10 kinds of people in the world; those who can read binary and those who don't  Cool
Reply


Messages In This Thread
Create/ copy widget in visu - by Trond Hoyem - 23.10.2019, 21:13
RE: Create/ copy widget in visu - by admin - 25.10.2019, 07:03
RE: Create/ copy widget in visu - by admin - 25.11.2019, 14:29
RE: Create/ copy widget in visu - by admin - 25.11.2019, 15:12
RE: Create/ copy widget in visu - by Trond Hoyem - 25.11.2019, 15:22
RE: Create/ copy widget in visu - by admin - 25.11.2019, 15:29
RE: Create/ copy widget in visu - by admin - 25.11.2019, 15:34

Forum Jump: