Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / June 2005

Tip: Looking for answers? Try searching our database.

how to default a guid?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike R - 08 Jun 2005 14:49 GMT
Hi,

I'm fairly new to Infopath and would appreciate being pointed in the correct
direction.

I have a SQL database which contains 1 table with some columns.  The primary
key is of type uniqueidentifier.

I have created an Infopath form against a dataconnection for this table.  I
dont want the user to enter in a guid.  How can I default a new guid in the
control which is bound to the primary key of the table?

Thanks

Mike
Henning Krause [MVP - Exhange] - 08 Jun 2005 15:11 GMT
Hello,

generally, you can let the SQL Server generate a unique ID (set the default
value of the column to "newid()").

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)

> Hi,
>
[quoted text clipped - 11 lines]
>
> Mike
Mike R - 08 Jun 2005 15:34 GMT
Thanks

> Hello,
>
[quoted text clipped - 23 lines]
>>
>> Mike
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.