149a5 record Number and Customer Number
Sign Up |  Live StatsLive Stats    Articles 37,335| Comments 177,301| Members 19,418, Newest Ssimran| Online 472
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

record Number and Customer Number

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Increasing number in Customer ID field with existing records Ningle Information Technology 4 28-Jul-2006 08:17 AM
Re: Increasing number in Customer ID field Ningle Information Technology 1 28-Jul-2006 08:17 AM
restrict max number of records for a customer john Information Technology 3 18-Nov-2005 14:00 PM
Number Field not showing zero's at the end of the number. naiveprogrammer Information Technology 3 12-Nov-2005 22:39 PM
RE: Creating a Sequential Record ID number with a make-table samwardill Information Technology 1 03-Nov-2005 11:34 AM


Tags
record, number, customer
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:16 AM
Mohammed's Avatar Mohammed
Guest
 
Posts: n/a
   
   
record Number and Customer Number

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have a customer file and it has a recordid as primary key autogenerate
and customer number is also generating by the DMax("[zfileno]","zfile")+1.
at one time recordid and zfileno was same but after delete of some records,
now the recordid and zfileno is different. when I am using lable print from a
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10783-record-number-and-customer-number.html
form selected record it was printing fine when the recordid and zfileno was
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10783
same when it become diff then it is not printing the selected record as on
selection I have strWhere=[Recordid]
what is the best way to print the same record from the form.



Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:16 AM
Joseph Meehan's Avatar Joseph Meehan
Guest
 
Posts: n/a
   
   
Re: record Number and Customer Number

Mohammed wrote:
> I have a customer file and it has a recordid as primary key
> autogenerate
> and customer number is also generating by the
> DMax("[zfileno]","zfile")+1. at one time recordid and zfileno was
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10783
> same but after delete of some records, now the recordid and zfileno
> is different. when I am using lable print from a form selected record
> it was printing fine when the recordid and zfileno was same when it
> become diff then it is not printing the selected record as on
> selection I have strWhere=[Recordid]
> what is the best way to print the same record from the form.


More information please. What are the relationships and table
structures?

What is the sql for the selection to print. How are you "selecting"
records to print?

--
Joseph Meehan

Dia duit
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10783


Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:16 AM
Ken Sheridan's Avatar Ken Sheridan
Guest
 
Posts: n/a
   
   
RE: record Number and Customer Number

  Donate Today!  
Provided you include the RecordID field in the label report's RecordSource
you can still use it to print the current record even though it differs from
the customer number. The RecordID does not need to appear on the label. The
code in the Click event procedure of a button on the form would be something
like this:

Dim strWhere As String

strWhere = "RecordID = " & Me.RecordID

' first make sure record is saved
RunCommand acCmdSaveRecord
' print the label
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10783
DoCmd.OpenReport "YourLabelReport", WhereCondition:= strWhere

You could also do it by using the customer number as this also uniquely
identifies the record, in which case you'd use something like:

strWhere = "[CustomerNumber] = " & Me.[CustomerNumber]

Ken Sheridan
Stafford, England

"Mohammed" wrote:

> I have a customer file and it has a recordid as primary key autogenerate
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10783
> and customer number is also generating by the DMax("[zfileno]","zfile")+1.
> at one time recordid and zfileno was same but after delete of some records,
> now the recordid and zfileno is different. when I am using lable print from a
> form selected record it was printing fine when the recordid and zfileno was
> same when it become diff then it is not printing the selected record as on
> selection I have strWhere=[Recordid]
> what is the best way to print the same record from the form.
>


Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
How does Sikhi help you...
Today 14:14 PM
35 Replies, 1,017 Views
Request for assistance...
Today 09:34 AM
10 Replies, 136 Views
Occultism - Rejection in...
Today 08:44 AM
62 Replies, 2,664 Views
‘Bigoted’ Facebook...
Today 08:32 AM
1 Replies, 59 Views
Australia mulls allowing...
Today 07:30 AM
0 Replies, 45 Views
Woolwich Killing: The...
Today 06:41 AM
3 Replies, 75 Views
Panjabi
By Ishna
Today 04:40 AM
16 Replies, 314 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:09 AM
316 Replies, 7,651 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 03:00 AM
179 Replies, 4,550 Views
Transgenderism ... Right...
By Kaylee
Today 00:33 AM
25 Replies, 1,274 Views
Losing My Religion: Why...
Today 00:00 AM
14 Replies, 396 Views
Kirtan
Yesterday 21:24 PM
0 Replies, 42 Views
Keeping Amrit Vela
Yesterday 16:49 PM
12 Replies, 942 Views
Do you believe in...
Yesterday 15:08 PM
196 Replies, 4,118 Views
Black Sikhs?
Yesterday 06:33 AM
20 Replies, 5,924 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 15:00 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 2.16291 seconds with 32 queries
0