Not sure what I am doing wrong.
I have an editable grid form set up.
The SQL is has skid_tag_num defined at the primary key.
The WHERE is
skid_tag_num=[this_skid_tag]
I have a unique key defined:
UK1: skid_tag_num + line_num
When I tried to update a row from the grid, I got the error message
Error updating database - record not found
So I turned on debug and got this SQL.
select count(*) from skid_tag_det where (skid_tag_num = 244304 AND line_num = 4) AND (skid_tag_num <> 244304)
That SQL will never return any records.
Anybody got a suggestion on what is going on?
Thanks
Nick