Just to clarify, are you trying to hide the blank row in the portal? (The last row)
not the last row, the one which is the same as the main record in the layout
You might try to filter your portal. Create a filter which would allow all records to show except the current record. You could try something like main record id <> main record id.
i already had a filter and added this from the hide
now i just need to figure out how to deducts let's ay 1.25 hours from 10:00 am
i just need to figure out how to deducts let's ay 1.25 hours from 10:00 am
You just need:
yourTime - hoursToDeduct * 3600
or in a semantically better way:
yourTime - Time ( hoursToDeduct ; 0 ; 0 )
1 of 1 people found this helpful
Time is really just a number. It is the number of seconds past midnight ( I believe). So each hour is 3600 seconds.
10 am is really ( 10 * 3600) and 1.25 hours is ( 1.25 * 3600). GetAsTime( (10 * 3600) - ( 1.25 * 3600)) will give you 8:45am.
You could build a custom calculation to do the math for you.
it's the seconds part i missed