| | | Forum Newbie
       
Group: Forum Members Last Login: 8/18/2008 7:34:09 AM Posts: 1, Visits: 14 |
| | Dear All I m working last 3 Month On this Invoicing Project. But I am facing a Problem about Invoice Number.Our Company requirement that Invoice Number will be Like this KS 808-01 and KM-808-01 One Thing is very Important In this No. This Format Is Look like this YearMonth-InvoiceNo.and Ofcourse it will change every month and year. I also want that Invoice Number will be auto generated with Add new Invoice Button Or Suggest Me what is the Better Option For this Scenerio.] Secondly i want the Search data with Key Press Event By Words Look like Mobile Phone name Searching. We Press A All of the Name Start From A Shown Up and after 2nd word Type data Populated with 2nd Order I like Very Much i Can do Pls Help me.This is Very Important For My Job Otherwise My Boss will Dismiss me. Kndly My Email Adress is razee_kh2006@yahoo.com Thanks Razee Khan
Razee Khan |
| | | | 
Forum God
       
Group: Forum Members Last Login: Yesterday @ 9:26:27 AM Posts: 541, Visits: 856 |
| Welcome to A1VBCode, Razee_khan.
I'm guessing you want a front-end for some database that creates new invoices and sorts through the created ones alphabetically?
If this is the case, post whatever code you have and we'll take a look at it.
Also, I would advise against posting your email unless you want a lot of spam.
Mobius
_____________________________________________________________
No trees were harmed in the making of this post.
However, a large number of electrons were horribly inconvenienced. |
| | | | Junior Member
       
Group: Forum Members Last Login: 10/14/2008 12:47:36 PM Posts: 17, Visits: 20 |
| | Format Invoice Name First two letters, space, year in four digits, two digit month, dash, invoice number : Module Module1 Sub Main() Dim strInvoice As String = ""Dim intInvoiceNumber As Integer = 0intInvoiceNumber = 12345 strInvoice = "KS "strInvoice &= Format( Date.Now, "yyyyMM")strInvoice &= "-" & intInvoiceNumber.ToStringConsole.WriteLine(strInvoice) Console.ReadLine()
End Sub End Module |
| | | | Junior Member
       
Group: Forum Members Last Login: 10/14/2008 12:47:36 PM Posts: 17, Visits: 20 |
| Razee_khan (8/18/2008)
Dear All Secondly i want the Search data with Key Press Event By Words Look like Mobile Phone name Searching. We Press A All of the Name Start From A Shown Up and after 2nd word Type data Populated with 2nd Order I like Very Much i Can do Pls Help me. Adding all your data into a combobox will allow you to do this. On the combox box set the following properties Combobox1.Sorted = True Combobox1.AutoCompleteMode = Append Combobox1.AutoCompleteSource = List Items This will allow you to type in the combobox and will auto pick the items. |
| |
|
|