I have 2 columns, Date & Odom which I need to base the sorting on. If the column 'odom' has value of '0', I want to use the 'Date' field to sort the report, if there is a value in the odom column, I want to use 'Odom'. I created a invisible text box on my report called 'txtsortparm' and in the control source I used: =IIF([Odom]=0,[Date],[Odom]). The report is prompting me for a value for this column. Any suggestions on how I can do 'conditional sorting'???
Thanks!
Thanks!
Comment