This document SQLite basics have inteesting examples. But I have hard time with one:
Var rs as RowSet = App.db.SelectSQL("select * from person where id = (select max(id) from person)")
I replaced the TABLE
name and removed App
to conform to where I pasted it, but it does not compiles.
This is meant to ask the last Row of the Data Base.
Before going there, I went to SQLiteDataBase, the example SQLite, and the Forum and failed to reach what I was searching.
There are 2512 Records in that SQLite file.
I will explore the DB navigation later today.
In the mean time, is this code correct ?
Desktop
Xojo 2024r4.2
Sequoia 15.4
MacBook Pro 13" m1
6 posts - 4 participants