I made a dataport, exporting few tables.
Problem: How to run it with recordfilters I need?
(I want ot export only record changed from startdate)
If in dataport was only one record parameter there would be no problem.
record1.SETFILTER("Last Date Modified",'>04.05.04');
DATAPORT.RUN(ID,FALSE,record1);
But if there are few records to import in dataport, ERROR apears.
Or only the way to make dataport for each record ?
keep it simple
0
Comments
if you have 2 dataitems in your dataport and want to filter both of them
first you should create a function like this in your dataport:
where gt_Rec1View, gt_Rec2View are Text[1024] global variables.
In Rec1DataItem OnPreDataItem trigger you should write:
In Rec2DataItem OnPreDataItem trigger you should write:
And dataport you should run like this:
where ldt_YourDataport is the local variable(Type=Dataport, SubType=YourDataport).
Hope it helps!
Thanks much.
Muchas gracias.
Molte grazie.
Danke schön.
Merci beaucoup.
Большое спасибо.
Всегда пожалуйста