Connecting Tech Pros Worldwide Help | Site Map

updating null records in a table

  #1  
Old November 13th, 2005, 10:00 AM
civa
Guest
 
Posts: n/a
Hii,
I have created a check writing program which consists of a table
name "DATA" with fields CHECKNO, CHECKDT, BANKNAME & AMOUNT & also a
query with date criteria with the above fields. I have 2 problems while
generating reports
1. I have created a report based on the above query with criteria
set to CHECKNO Is null the problem is that while entering data into
table i will enter all the fields except "CHECKNO". Checkno should be
prompted when the checks to be printed & same time checkno to be
updated sequentially in "DATA" table.
2. "BANKNAME" consists of atleast 3 banks for which a different
series of checkno is used, for which each time as an when bankname
changes in report,report should prompt for fresh starting chequeno & it
should be incremented sequentially.
3. If any check is cancelled or printed wrong then particular check
is destroyed & fresh checkno is alloted
Any help on VBA function for this, and also how implemnet the
function in ms access as iam new to access modules.
Thank you.

  #2  
Old November 13th, 2005, 10:00 AM
pietlinden@hotmail.com
Guest
 
Posts: n/a

re: updating null records in a table


Use DMAX to get the next check number for each account. normally this
is done when the records are created, but I suppose you could request
just before printing. And then just after the printing, ask if the
checks all printed correctly. Any that do not print correctly, will
get voided and reprinted.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update field only if field is not null Brett answers 2 July 25th, 2006 05:35 PM
Referential Integrity - How to update a table? Mike Dole answers 4 November 13th, 2005 02:35 AM
calculating in table made by createElement and appendChild kie answers 25 July 20th, 2005 12:00 PM
UPDATE query in SQL Server Lauren Quantrell answers 8 July 20th, 2005 03:41 AM