Is it possible to build this two commands into Purebasic:
LastDatabaseRow --> acces to last register in one table.
SeekDatabaseRow --> acces to one especific register in one table.
according to this link:
viewtopic.php?t=2779
The Database lib of PB has FirstDatabaseRow(), NextDatabaseRow() and PreviousDatabaseRow() but why not a LastDatabaseRow? 8O
LastDatabaseRow - SeekDatabaseRow
LastDatabaseRow
Old, but not solved!
The LastDatabaseRow()-Function is really important for me and there is no solution for me to build a program in PB that I need urgently.
Maybe in PB 4.0?

The LastDatabaseRow()-Function is really important for me and there is no solution for me to build a program in PB that I need urgently.
Maybe in PB 4.0?
Hi,
i agree with that :roll:
using an agregate function is not really the best way
http://www.w3schools.com/sql/sql_functions.asp
i agree with that :roll:
using an agregate function is not really the best way

Code: Select all
Select LAST(column)
Returns the value of the last record in the specified field (not supported in SQLServer2K)