Hi
I have a table with three field (w1, w2, w3, all of type code) and the primary key is 'w1,w2,w3'. Field w1 has a tablerelation with organisation, field w2 has a relation with table department.
I have a form that displays the records of this table in list form.
When I haven't set a filter on any of the field, scrolling past the last record results in the creation of a new record.
But when I have filtered on field w2 - let's say I only want to view department DEPT - and scroll past the last record it rises an error message saying Table Organisation not found. It tries to fill w1 and w3 with '' and w2 with 'DEPT'. But there is no Organisation with value '', so the error pops up.
Is there a way to work around this?
Regards
Josh
0
Comments
Maybe you could put the ValidateTableRelation property of the field (or fields) to FALSE, but in some cases you might get empty records if you move downwards with focus to another field other than one that is part of the key.
You could do that with the DelayedInsert propery of the form to yes to help you more...
Try a combination of those two properties or just the second and you will find the way...
Copy/paste of the help follows:
Arhontis
https://forum.mibuso.com/search