Welcome, Guest
Username: Password: Remember me
Welcome to TeslaSCADA forum!

Tell us and our members about your experience of using our products.

TOPIC: check last row ID of SQLITE database

check last row ID of SQLITE database 1 year 6 months ago #2194

  • CYSan1994
  • CYSan1994's Avatar
  • Offline
  • Junior Member
  • Posts: 28
  • Karma: 0
Hi,

Is there any function so I can check last row ID of SQLITE Database using structured text?

Thanks,
San
The administrator has disabled public write access.

check last row ID of SQLITE database 1 year 6 months ago #2195

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 842
  • Thank you received: 126
  • Karma: -107
Hello,
Try to use rsnext function from database library teslascada.com/HTML/database-library.html . It iterates all values of the ResultSet and you can reach the last row by checking return value.

Best regards,
Ruslan
The administrator has disabled public write access.
Go to top