Hi everyone,
Need some help. I'm doing our Purchase Report of all items.
I categorized them by month.
for example. I have this data.
Now I want to know or get the last Qty value of the month...
The case is I cannot trace the last Qty value of the last purchase.
Because not every month I purchase.
For example. For the month of May I purchase "0" Qty. Then Last April I purchase "160" then I should get the last value from April which is "160".
Does anyone can help with this? Thanks...
Need some help. I'm doing our Purchase Report of all items.
I categorized them by month.
for example. I have this data.
HTML:
<table border="1">
<tr>
<th>Jan</th>
<th>Feb</th>
<th>Mar</th>
<th>April</th>
<th>May</th>
</tr>
<tr>
<td>120</td>
<td>0</td>
<td>45</td>
<td>68</td>
<td>9</td>
</tr>
<tr>
<td>99</td>
<td>81</td>
<td>6</td>
<td>11</td>
<td>10</td>
</tr>
<tr>
<td>611</td>
<td>86</td>
<td>9</td>
<td>11</td>
<td>87</td>
</tr>
<tr>
<td>0</td>
<td>12</td>
<td>6</td>
<td>11</td>
<td>86</td>
</tr>
<tr>
<td>120</td>
<td>9</td>
<td>0</td>
<td>11</td>
<td>0</td>
</tr>
</table>
Now I want to know or get the last Qty value of the month...
The case is I cannot trace the last Qty value of the last purchase.
Because not every month I purchase.
For example. For the month of May I purchase "0" Qty. Then Last April I purchase "160" then I should get the last value from April which is "160".
Does anyone can help with this? Thanks...