Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Order Number
Last Post 09-07-2009 07:29 PM by JFranks22. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
JFranks22User is Offline
wading in the water
wading in the water
Posts:26
Avatar

--
09-04-2009 08:12 PM

    Hi, I see two options for providing an order number to customers back in 2008 - http://www.datasprings.com/Products....aspx#5027

    1. Textbox or hidden field with a SQL Default, the SQL default would basically generate a unique variable (such as a GUID).

    2. Use the GUID.

    I am not sure I understand option 1 and the GUID is not very user friendly.

    Are there any further ideas for implementing a user friendly order number? If not, would you please expand on how I could implement option 1?

    Thank you!

    JFranks22User is Offline
    wading in the water
    wading in the water
    Posts:26
    Avatar

    --
    09-04-2009 09:15 PM

    FYI - We would really like to be able to include the 8-10 character Order Number in the subject of the email, this will help differentiate between the mulitple orders from the same customer. With the model we are working with, customers could place 5-50 orders in a given day or a few hundred a month.

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    09-06-2009 01:37 PM
    Hi, you can still use the SQL default and only take the first ten characters of the 32 bit auto generated GUID. Try out this statement:
    1) create a textbox field called OrderNumber and use the following SQL Default Driven statement:
    select substring(replace(newid(),'-',''),1,10) as DefaultValue

    This will generate a random 10 character value that's practically almost impossible to be duplicated and you can include this token in your email. -- David
    JFranks22User is Offline
    wading in the water
    wading in the water
    Posts:26
    Avatar

    --
    09-07-2009 07:29 PM
    Hi - the code you provided will work for now and looks much better than the long GUID string. Thank you!

    I like the way you say "practically almost impossible to be duplicated"!
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
     
     
       
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi