Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am creating a simple table inside the script with two inputfields:
Inputfield VolRec,MixRec;
Reconciliation:
Load * INLINE [
CostRec,VolRec,MixRec
Industrial,0,0
Logistic,0,0
];
The problem it occurs is that the end user would like to keep record on the input values for different months i.e when they change month the values in Reconciliation table shoud change accordingly and if there have not been put any values for the selected month it should show 0.
I would very much like that this reset if possible happens in the script on reload.
Thank you!
After some working around this is how i've put the month
Inputfield VolRec,MixRec;
Reconciliation:
LOAD * INLINE [
MONTH,CostRec,VolRec,MixRec
1,Industrial,0,0
1,Logistic,0,0
2,Industrial,0,0
2,Logistic,0,0
3,Industrial,0,0
3,Logistic,0,0
4,Industrial,0,0
4,Logistic,0,0
5,Industrial,0,0
5,Logistic,0,0
6,Industrial,0,0
6,Logistic,0,0
7,Industrial,0,0
7,Logistic,0,0
8,Industrial,0,0
8,Logistic,0,0
9,Industrial,0,0
9,Logistic,0,0
10,Industrial,0,0
10,Logistic,0,0
11,Industrial,0,0
11,Logistic,0,0
12,Industrial,0,0
12,Logistic,0,0
];
Hi,
Just remove the 'Inputfield VolRec,MixRec' in load script and change the value of VolRec,MixRec and reload the
File. Definitly change the data in VolRec,MixRec.
Regards,
Iyyappan
The whole idea is that the end user changes the data in VolRec and MixRec in order to manipulate a chart. We discussed that maintenance of a separate excel table for that purpouse would be very complicated from organization poin ot view. So i think I can't get away from inputfields.
Regards,
icehorde
Maybe you can try to following in your script:
if IsNull(VolRec) then; LET Volrec = 0 ; end if;
if IsNull(MixRec) then; LET MixRec = 0 ; end if;
Is this what you are looking for?
Good luck,
Dennis.
After some working around this is how i've put the month
Inputfield VolRec,MixRec;
Reconciliation:
LOAD * INLINE [
MONTH,CostRec,VolRec,MixRec
1,Industrial,0,0
1,Logistic,0,0
2,Industrial,0,0
2,Logistic,0,0
3,Industrial,0,0
3,Logistic,0,0
4,Industrial,0,0
4,Logistic,0,0
5,Industrial,0,0
5,Logistic,0,0
6,Industrial,0,0
6,Logistic,0,0
7,Industrial,0,0
7,Logistic,0,0
8,Industrial,0,0
8,Logistic,0,0
9,Industrial,0,0
9,Logistic,0,0
10,Industrial,0,0
10,Logistic,0,0
11,Industrial,0,0
11,Logistic,0,0
12,Industrial,0,0
12,Logistic,0,0
];