I need to know if a number is a multiple of 14. I am dynamicly creating a calendar where I don't know the dates I want to display are at design time. I want to show rows of 14 days. If the user's date range is 2 days then I need to make it 14 if their range is 15 I need to make it 28 (two rows of 14) if it is 30 I need 42, ect.
I think I need to do something like :
but im not real sure, I havent worked with mod since pascalCode:intMod = intVar / 2 intMod = mod(intMod) if intMod = 0 then do something
Michael





Reply With Quote