B
Bob Vance
I want to add this column at the end "tblInvoice_ItMdt.GSTOptionsText" which
would make it 6 Columns to the list box!
lstModify.RowSource = "SELECT Format(MIN(dtDate),'dd-mmm-yyyy') AS StartDate
," _
& " Format(MAX(dtDate),'dd-mmm-yyyy') AS EndDate," _
&
"tblInvoice_Itmdt.HorseID,funGetHorse(0,tblInvoice_Itmdt.HorseID,false)," _
& "Sum(tblInvoice_ItMdt.TotalAmount)" _
& " FROM tblInvoice_Itmdt" _
& " GROUP BY tblInvoice_Itmdt.HorseID" _
& " order by funGetHorse(0,tblInvoice_ItMdt.HorseID,true) " _
& ",funGetHorse(0,tblInvoice_ItMdt.HorseID,false);"
lstModify.ColumnCount = 5
lstModify.ColumnWidths = "1.2 in;0;0;5 in;1.5 in"
lstModify.BoundColumn = 2
would make it 6 Columns to the list box!
lstModify.RowSource = "SELECT Format(MIN(dtDate),'dd-mmm-yyyy') AS StartDate
," _
& " Format(MAX(dtDate),'dd-mmm-yyyy') AS EndDate," _
&
"tblInvoice_Itmdt.HorseID,funGetHorse(0,tblInvoice_Itmdt.HorseID,false)," _
& "Sum(tblInvoice_ItMdt.TotalAmount)" _
& " FROM tblInvoice_Itmdt" _
& " GROUP BY tblInvoice_Itmdt.HorseID" _
& " order by funGetHorse(0,tblInvoice_ItMdt.HorseID,true) " _
& ",funGetHorse(0,tblInvoice_ItMdt.HorseID,false);"
lstModify.ColumnCount = 5
lstModify.ColumnWidths = "1.2 in;0;0;5 in;1.5 in"
lstModify.BoundColumn = 2