Connecting Tech Pros Worldwide Help | Site Map

automated fields in a receipt

  #1  
Old July 6th, 2009, 06:14 PM
Member
 
Join Date: Sep 2007
Location: Israel
Posts: 38
I have a receipt form (access 2003) where I write checks received (between 12 - 36 checks for each client).

My question is : how do I automate check numbers (it's a running number by order), same bank (all checks are from 1 bank : how do I make each line in the receipt writing the same bank automatically) etc'.

I placed the following in the default value properties: "DMax "CheckNumberFieldHere", "tableNameHere")+1"
and it's ok but when I go to the next row, the check number goes 0 but there's another row with the following needed number (it actually creates 2 new rows : 1 =0 and the 2nd=the needed number). The following desired number skips a line.

Can you please figure this one out?

Thanks.
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access VBA SQL UPDATE Apple001 answers 11 November 2nd, 2007 07:46 AM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 13th, 2005 11:37 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 13th, 2005 09:56 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 13th, 2005 03:15 AM