Hi Everyone,
Can you tell me how to get a record in a table based on a date?
Here is the code I tried to use.
Truly,
Emad
<code>
NET:WeekEnding = '8-JUN-2006'
Get (NetWorth, NET:KeyWeekEnding)
message(NET:WeekEnding)
If LAY:CurrentBalance > LOC:LayawayCurrentBalanceBeforeChange |
Then
NET:TotalLayawayPayments = NET:TotalLayawayPayments - (LAY:CurrentBalance - LOC:LayawayCurrentBalanceBeforeChange)
End
If LAY:CurrentBalance < LOC:LayawayCurrentBalanceBeforeChange |
Then
NET:TotalLayawayPayments = NET:TotalLayawayPayments + (LOC:LayawayCurrentBalanceBeforeChange - LAY:CurrentBalance)
End
Put (NetWorth)
message(NET:TotalLayawayPayments)
</code>
Can you tell me how to get a record in a table based on a date?
Here is the code I tried to use.
Truly,
Emad
<code>
NET:WeekEnding = '8-JUN-2006'
Get (NetWorth, NET:KeyWeekEnding)
message(NET:WeekEnding)
If LAY:CurrentBalance > LOC:LayawayCurrentBalanceBeforeChange |
Then
NET:TotalLayawayPayments = NET:TotalLayawayPayments - (LAY:CurrentBalance - LOC:LayawayCurrentBalanceBeforeChange)
End
If LAY:CurrentBalance < LOC:LayawayCurrentBalanceBeforeChange |
Then
NET:TotalLayawayPayments = NET:TotalLayawayPayments + (LOC:LayawayCurrentBalanceBeforeChange - LAY:CurrentBalance)
End
Put (NetWorth)
message(NET:TotalLayawayPayments)
</code>