Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 521
  • Last Modified:

Append records with a sequential number to a access table

I want to use an append query to append records to a table (tblFood - See attached). Also, I want to automatically update the VoucherNo field in sequence. For example I wanted to enter an ending voucher number and the query will append records beginning with the next number in the sequence and ending with the number entered by the user. In addition I want to enter a name in the FullName field that will be appended along with the voucher number
Append.docx
0
shieldsco
Asked:
shieldsco
  • 5
1 Solution
 
Helen FeddemaCommented:
We really need to see the database to give you advice here.  For example, the form where you enter (or select) an ending voucher number.  What table is it based on?  What table is used to do the appending to tblFoodVoucher?  Generally, it would be better to save a unique ID rather than FullName, though there are some circumstances where at name needs to be stored.
0
 
shieldscoAuthor Commented:
ok database attached
Food-Voucher-V1.accdb
0
 
shieldscoAuthor Commented:
My voucher number and full name on the frmfood is unbound
0
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 
shieldscoAuthor Commented:
I have attached an updated database to give a better ideal of what I'm trying to accomplish
Food-Voucher-V1.accdb
0
 
shieldscoAuthor Commented:
I made moore changes to the database - I'm using a query to determine the last number used so I just need the append query  to loop based on the ending voucher number and write records to tblfood. What do you think?
Food-Voucher-V1.accdb
0
 
shieldscoAuthor Commented:
No response after 24 hours
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now