Hi,
Im finding the maximum value in a column I have using this sql statment:
Code:
SELECT Nz(Max(TblLeague.rank),0) AS MaxRank FROM TblLeague WHERE (((TblLeague.sportID)=[sID]));
Im also using the Nz command...
SELECT Nz(Max(TblLeague.rank),0) AS MaxRank FROM TblLeague WHERE (((TblLeague.sportID)=[sID]));
Dim DataConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; data source=" & Server.MapPath("App_Data/Database.mdb")) Dim
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
SELECT TblSport.sportName, TblLeague.leagueName, TblLeague.size AS MaxTeams, z.NumTeams FROM
Leave a comment: