Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Virtual date table in code

$
0
0
Hi all,

It is possible to use the virtual Date table from code?
Using it as a data item in a report or page works, but when I try to access and loop it in code it doesn't.

Date.SETRANGE("Period Type",Date."Period Type"::Month);
Date.SETRANGE("Period Start",StartDate);
Date.SETRANGE("Period End",EndDate);
IF Date.FINDSET THEN
REPEAT
//blah blah
UNTIL Date.NEXT =0;

This returns 0 Date results.

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>