LastDatabaseRow - SeekDatabaseRow

Got an idea for enhancing PureBasic? New command(s) you'd like to see?

Should there be a LastDatabaseRow()-Function in PB?

Poll ended at Sun Nov 28, 2004 6:44 pm

Yes
5
42%
Yes
5
42%
No
1
8%
No
1
8%
 
Total votes: 12

downi
New User
New User
Posts: 4
Joined: Mon Aug 30, 2004 6:29 pm

LastDatabaseRow - SeekDatabaseRow

Post by downi »

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
Manolo
User
User
Posts: 75
Joined: Fri Apr 25, 2003 7:06 pm
Location: Spain

Post by Manolo »

Hehehe...
My old request...
Manolo
Return to the forum
downi
New User
New User
Posts: 4
Joined: Mon Aug 30, 2004 6:29 pm

LastDatabaseRow

Post by downi »

Old, but not solved! :lol:

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?
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

Hi,

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)
http://www.w3schools.com/sql/sql_functions.asp
downi
New User
New User
Posts: 4
Joined: Mon Aug 30, 2004 6:29 pm

Post by downi »

push

3 Years later now :-(

Is it possible to build this two commands into Purebasic:

LastDatabaseRow --> access to last register in one table.

SeekDatabaseRow --> access to one specific register in one table.
Post Reply