Hi all
i have got ms access calender template database im try to modify to my needs and i have hit a barrier
i have a form which displays the monthly view calender as you click on a day it shows in text box below the calender information from fields in my main table "assets" also shows information from tblVisitType table but i would like remove this information
and
my knowleage is not great i have try to remove parts but keep getting errors
all im trying to do it is remove anything related to tblvisttype table from the codes above
thank in advance you legends
shane
i have got ms access calender template database im try to modify to my needs and i have hit a barrier
i have a form which displays the monthly view calender as you click on a day it shows in text box below the calender information from fields in my main table "assets" also shows information from tblVisitType table but i would like remove this information
Code:
strSQL = "SELECT assets.Last, Assets.First, assets.Date, tblVisitType.Type, tblVisitType.Code, assets.Time " & _
"FROM tblVisitType INNER JOIN assets ON tblVisitType.TypeID = assets.TypeID " & _
"WHERE assets.Date Between " & lngFirstOfMonth & " And " & lngLastOfMonth & _
" ORDER BY assets.Time, assets.Last, assets.First;"
and
Code:
strSQL2 = "SELECT assets.id, assets.Last, assets.First, assets.Date, assets.Time, " & _
"tblVisitType.Type, tblVisitType.Code, assets.Insurance FROM tblVisitType INNER JOIN assets ON " & _
"tblVisitType.TypeID = assets.TypeID " & _
"WHERE assets.Date = " & ctlDayBlock.Tag & _
" ORDER BY assets.Time, assets.Last, assets.First;"
my knowleage is not great i have try to remove parts but keep getting errors
all im trying to do it is remove anything related to tblvisttype table from the codes above
thank in advance you legends
shane