You have a range of dates e.g. 01/01/08..12/02/08 stored in a variable.
Can you filter or truncate the string when there is .. operator?
Thanks
If the user enters a filter on a date-field, you have to take a look at the functions I already mentioned above.
Or do you have a field type text which contains the string 01/01/08..12/02/08 ?
You could take a look at the function STRPOS which returns the position of a string.
And then use COPYSTR to copy the date before or/and after the ..
Comments
or
record.GETRANGEMIN(date) and record.GETRANGEMAX(date)
Tino Ruijs
Microsoft Dynamics NAV specialist
Rgds,
Jon.
Jon.
Another similar question.
You have a range of dates e.g. 01/01/08..12/02/08 stored in a variable.
Can you filter or truncate the string when there is .. operator?
Thanks
If the user enters a filter on a date-field, you have to take a look at the functions I already mentioned above.
Or do you have a field type text which contains the string 01/01/08..12/02/08 ?
You could take a look at the function STRPOS which returns the position of a string.
And then use COPYSTR to copy the date before or/and after the ..
Tino Ruijs
Microsoft Dynamics NAV specialist