If I am using the following code to save Preferences,
Dim dr as new DatabaseRecord
dr.column("Currency") = trim(popupmenucurrency.text)
dr.column("measurement") = trim(popupmenumeasurement.text)
dr.column("temperature") = trim(popupmenutemperature.text)
karter.InsertRecord "preferences",dr
karter.Commit
msgbox"Preferences have been Saved"
How do I Delete the previous record before it saves the new record, so there is always only one set of preferences in the database.
Thanks.