You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to insert a row, but it is not inserted at the end. Also, the properties of the database change and when I try to restore it through Paradox Data Editor, the error “Invalid sort byte in header” appears.
Code:
from pypxlib import Table
from datetime import datetime
i = ['2024-07-22', '05:35:00', 0, 'REVOLVER', 'BULOW', '']
table = Table("C:\\Users\\codelean\\PycharmProjects\\MegaDobivatel\\AdvAddHard.db")
table.insert((datetime.strptime(i[0], '%Y-%m-%d'), datetime.strptime(i[1], '%H:%M:%S').time(), int(i[2]), i[3], i[4], i[5]))
table.close()
I'm trying to insert a row, but it is not inserted at the end. Also, the properties of the database change and when I try to restore it through Paradox Data Editor, the error “Invalid sort byte in header” appears.
Code:
Error in Paradox Data Editor:
Properties before insert:
Properties after insert:
DB:
AdvAddHard.zip
The text was updated successfully, but these errors were encountered: