LV
|
Posted: 05/25/2004, 5:58 AM |
|
What is the equivalent CCDLookup function in .NET (VB)?
Thanks in advance.
|
|
|
Stan
|
Posted: 05/25/2004, 6:31 AM |
|
You can use following code
Dim MaxID As Integer = Settings.<ConnectionName>DataAccessObject.ExecuteScalar("SELECT MAX(ID) FROM TABLE WHERE FIELD1 > 3")
|
|
|
peterr
Posts: 5971
|
Posted: 05/25/2004, 11:28 AM |
|
Also take a look at lookup examples in each programming language: http://docs.codecharge.com/studio/html/ProgrammingTechn...gleDBValue.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
LV
|
Posted: 05/25/2004, 6:11 PM |
|
Thank you both.
|
|
|