473,508 Members | 2,247 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

updating null records in a table

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.

Nov 13 '05 #1
1 1248
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.

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1199
by: Jeff Magouirk | last post by:
Dear all, I need to update one field in a table for a given record and visit number. Example below is how the table looks - SID VISIT DLCO 101 0 12 101 1 16 102 ...
5
1655
by: Deano | last post by:
Hi, I have a quick problem that I think I know how to solve using DAO but just realised an update query would be more elegant. However I don't have a clue how to implement it. My main table...
5
4455
by: deko | last post by:
How to run action query against linked table? I have an Access 2003 mdb with an Excel 2003 Workbook as a linked table. When I attempt to run an action query against the linked table I get this...
1
1850
by: Chris Jackson | last post by:
I'm a novice Access user and am not sure how to solve the following problem. Any help with the following would be greatly appreciated! I have two tables with identical structures, the first holds...
0
1754
by: | last post by:
I am updating MS access tables with data in an xml document. I create two dataset, one for existing data and one for new data. I fill the first dataset with the records from MS Access, the second...
5
1633
by: Ryan Ternier | last post by:
I'm having an issue with an SQL insert statement. It's a very simple statement, and it's causing too much fuss. strSQL = "INSERT INTO tblFieldLayouts(TypeID, FieldID, OrderID, Hidden) VALUES("...
1
1496
by: davidgordon | last post by:
Hi, If I am updating a list of records for a user on an asp page, is there a way to hold the page updating, even if they refresh the page, until I have updated all the records. i.e. rather...
2
2838
by: Alexey.Murin | last post by:
The application we are developing uses MS Access 2003 database (with help of ADO). We have noticed that during massive records updating the size of the mdb file increases dramatically (from 3-4 to...
1
1963
by: hgriva | last post by:
Hi, i have a question ------------------------------------- i have 2 tables user_security and customer table structures ----------------------------- user_security
2
1777
by: alnoir | last post by:
I'm trying to update some records using the UPDATE and SELECT query. I have two databases. The first database (db1) is a subset of the second database (db2). However, the first database is...
0
7129
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1566
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.