Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 16th, 2005, 04:12 AM
kumar-pln kumar-pln is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 43 kumar-pln User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 5 m 43 sec
Reputation Power: 4
Bill generation

hi,

my application is running well at the client side, but the pbm is that

id- autogenerate (1,2,3...) Hidden from visibility of the user
billno- based on id it generates(xyz01,xyz02,xyz03...)

but the client wants bill of starting month should start with xyz01 and so-on

help needed

Reply With Quote
  #2  
Old December 17th, 2005, 08:54 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 29 m 58 sec
Reputation Power: 181
What are you asking? I don't understand.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old December 19th, 2005, 05:45 AM
kumar-pln kumar-pln is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 43 kumar-pln User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 5 m 43 sec
Reputation Power: 4
re

hi,

i mean to say that

id |billno |...
1 101
2 102
3 103
4 104
5 105
6 106

This was for first month say for january

when it is february 1st then

id | billno |...
7 101
8 102
9 103
10 104
11 105

like this when it is march 1st then

id | billno |...
12 101
13 102
14 103
.
.
.
could it get you

help

Reply With Quote
  #4  
Old December 19th, 2005, 01:44 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 29 m 58 sec
Reputation Power: 181
If I was forced to do this kind of bill numbering (something I'd try hard not to do) I'd probably create a counter somewhere, in another table or ini file or something, and at the start of each new month reset this counter to the new month starting value.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Bill generation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT