Microsoft
Software
Hardware
Network
Question : How to get max value from table (Access 2003 vs VB.net 2005)
Dear Experts,
i have 1 table (tbl_reg) with 2 fields (reg_no, reg_name) in access 2003.
in VB.net 2005, i want to get the max value for reg_no.
pleas help, how to code this?
thanks!
Answer : How to get max value from table (Access 2003 vs VB.net 2005)
If you want to fetch it after fill to datatable u can use Compute as following
MessageBox.Show(ds.Tables(
0).Compute
("MAX(EmpI
D)", ""))
Random Solutions
How to enable Mailbox on exchange 2007
Navigating through Internet Explorer Object Model in VBA
SQL Server Report and Active X Control
cannot connect SQLOLEDB to distance server
vba to forward html or plain text emails with additional text at front
How Do i repair msiexec.exe?
Import Data from Unsaved Excel Spreadsheet to Access Table
Outlook Web Access 2003 Redirect
Vista download fails with 0x80070718 error message
Missing Drafts Folder