hi
I have G/L Entry DataItem . I want if Document No is Like 'GR/MBR/OT*' then amount should be added in a variable else not.
Thanks
*This post is locked for comments
hi
I have G/L Entry DataItem . I want if Document No is Like 'GR/MBR/OT*' then amount should be added in a variable else not.
Thanks
*This post is locked for comments
if pos <> 0 then begin
//your logic here
end;
Hi
U mean to say like this . I want to use with If condition.
pos := STRPOS("Document No.",'GR/MBR/');
What it will return
Thanks
or you can use same SETFILTER with FINDSET
SETFilter("Document No.", 'GR/MBR/OT*');
IF FINDSET THEN
REPEAT
//Your logic here
UNITL Next = 0;
you have to use STRPOS
Hi
With Setfilter i have done like this and it is working . If i want to do same thing with if condition how it can be done
SETFilter("Document No.", 'GR/MBR/OT*');
Thanks
Hi
I am trying like this with Setfilter and it is working. How we can do if i have to use If conditon
SETFilter("Document No.", 'GR/MBR/OT*');
Thanks
your requirement is clear. I am asking about code that you tried.
Hi
I am reading Data from G/L Entry table. I want Document No should be like 'GR/MBR/OT*' . * can be any character or characters.
Thanks
Please always provide what did you try and what problem are you facing.
Forum is not to write code for you.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156