CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 How I translate this command ASP for VB.NET?

Print topic Send  topic

Author Message
EduOliveira

Posts: 2
Posted: 03/13/2007, 5:52 AM

I Need to make a autonumber and i obtained the following command:

'Before Execute Insert:
'------------------------------------------------------------------------------------
Dim conn, valor
Set conn = New clsDBconection_name
conn.Open
valor = CCDLookUp("MAX(ISNULL(ram_cod,0)+1)","tabramo","",conn)
conn.Close()
record.field.Value = valor
'------------------------------------------------------------------------------------
How I translate this command ASP for VB.NET?

Sorry for my poor english!

Thanks...




_________________
[]'s
Eduardo Oliveira
São Paulo - Brasil
View profile  Send private message
EduOliveira

Posts: 2
Posted: 03/13/2007, 11:52 AM

I was solve my problem using DLookup on Before Insert Event
_________________
[]'s
Eduardo Oliveira
São Paulo - Brasil
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.