Ok, I've read the post myself now, and it doesnt make any sense. .. hehe
The table has got more fields than those, of course. Fields :
'camera', 'filetype', 'filename', 'time_stamp', 'text' and a few others.
Those combined makes it impossible to have 2 matching rows.
The problem rises, when a mpeg (filetype=8) movie is entered. The filename indicates the time when it started recording, but entry in field 'time_stamp' gets "now()" as parameter. I then would like the time_stamp field to reflect on the start of recording.
Therefore a trigger on insert for a certain filetype (8), that could parse the filename and use this as time_stamp instead of the "DEFAULT"..
Hopes this makes more sense 🙂
PS: The recording program/project makes it hard to do it in the app, it just passes on some default parameters to a given database.. :bemused: