Hi,
I need to find the last record in a table (Res) with the entry: (Number:41, Type:42)
I use the following code:
Res.RESET;
Res.SETRANGE(Number, 41);
Res.SETRANGE(Type, 42);
IF Res.FIND('+') THEN BEGIN...................etc.
However, I would like to exclude the following value: (Number:4, Type:6) in the search. How can I do that?
Thank you in advance.
Agnethef
0
Comments
Maybe I misunderstand your query, but if you set your filtering like this: The record set will only include records having both these values
So requesting ... ... sounds useless to me.
Or do you mean include instead of exclude?
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Set filter on number: <>4 and type: <>6
Maybe you can explain it a bit more?
I did not explain it well enough but anyhow your answers gave me the idea of how to fix the problem, so thank you for your help.
To make this post of value to all on the forum please explain your ... That's why we are having this forum (also) :!:
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community