The online racing simulator
Delete records (laptimes / driftscores)
With this script you will be able to delete records from the laptimes and driftscore database.
First of all the script has two modes, being a "User" mode and an "Admin" mode.
When in "User" mode, you will be able to see your records (laptimes/driftscores) for the currently loaded track.
When in "Admin" mode, you will be able to see your records, the records of another specific user (username can be entered) or see all records for the currently loaded track.

In both modes you have the option to delete a single record using the button at the end of each line, or delete all records for the current user, using the button at the bottom of the form.
When in "Admin" mode and having selected to show all the records for the current track, you have the option to set a filter on 'Car'.
To do so, click the "Car:" button with your LEFT mouse button and a 'Set' button will appear underneath it.
Once you click that button, you can enter a car name and then the data will be filtered down to that specific car.
It's also possible to sort the usernames ascending/decending.
To do that, click the "Username:" button using your LEFT mouse button and the displayed records will be sorted Ascending.
Clicking it again with your LEFT mouse button, will sort them Descending.
To remove the filter or sorting, just click the corresponding button "Car:" / "Username:" using your RIGHT mouse button.

Version history of this script can be found at the top of the script.

! REMEMBER ! deleting one or more records will actualy remove them from the database, so once they are gone, they are GONE.

Change the extension of the file to .lpr and add it to addonsused.lpr to be able to use it.
Attached images
delrec_1.png
delrec_2.png
delrec_3.png
delrec_4.png
delrec_5.png
delrec_6.png
delrec_7.png
delrec_8.png
Attached files
del_records.txt - 37.9 KB - 248 views
Thank you for creating this usefull script.

FGED GREDG RDFGDR GSFDG