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
TimeZone -- CountryCode list
Using SQL to find non-duplicate data.
How to automate the retrieval of data from Access when database name is changing twice a month
How to use InvokeCommand with verb "COMPRESS"?
Exchange Store Error caused by AVG upgrade
Lookup Values with Substring Match instead of Exact Match
SQL Command in Crystal Reports
"Email" icon in word 2003 grayed out and I do have an email account set up through Outlook.
why don't some 32 bit programs work with 64 bit os?
Upgrade to Server 2008 Enterprise Error "Not enough free space for temporary files", even with plenty of space.