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
SQL criteria applied to nested queries
Data Validation with VBA without use of worksheet cells
Windows 2003 Server - IIS 6 connection to shared server - Logon/Logoff errors Event 529 & 680
HOW TO REMOVE ROUTING AND REMOTE ACCESS
Darwing a line with Line method
convert Date() to CCYYMMDD format in SQL
WS_EX_TRANSPARENT
UNION all view % is not updatable because a partitioning column was not found
getting error message when download offline address book
Outlook vs mobile sync