CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 newid() on access

Print topic Send  topic

Author Message
Robert Rodgers
Posted: 05/13/2003, 1:22 PM

Hi All,

In MSSQL I can submit a query that returns a guid with this statement.

SELECT NEWID() as xguid


Any Idea how to get an MDB to return a guid like this?

thanks.

rob

--
"Every absurdity has a champion to defend it"
Oliver Goldsmith
++++++++++++++++++++++++++++++

Robert Rodgers
Posted: 05/13/2003, 2:30 PM

Never mind.

Using ASP I can get a GUID this way.
<%
Dim TypeLib, GetGuid
Set TypeLib = Server.CreateObject("Scriptlet.TypeLib")
GetGuid = Left(CStr(TypeLib.Guid), 38)
Set TypeLib = Nothing
response.write(GetGuid)
response.end
%>


Thanks.

Rob
--
"Every absurdity has a champion to defend it"
Oliver Goldsmith
++++++++++++++++++++++++++++++

"Robert Rodgers" <rrodgers@sylvancomputing.com> wrote in message
news:b9rk5t$uh8$1@news.codecharge.com...
Hi All,

In MSSQL I can submit a query that returns a guid with this statement.

SELECT NEWID() as xguid


Any Idea how to get an MDB to return a guid like this?

thanks.

rob

--
"Every absurdity has a champion to defend it"
Oliver Goldsmith
++++++++++++++++++++++++++++++



   


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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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