473,544 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft Access / VBA Forum

Microsoft Office Access database and VBA - Ask questions about microsoft access queries, reports, forms, macros, modules, security, automation, functions, records, mining, visual basic for applications and more.
7
2,934
thread by: DarkBlue140 | last post Feb 12 '21 by: isladogs
New to using VBA in MS Access, please be nice. When the user click's a button, I need the button to move only that row onto an existing table. Example, something needs to be recycled, user clicks the recycle button and it moves that row of data to a recycle table that holds all the recycled rows. I've spent 2 days working on this new...
1
5,655
NeoPa
thread by: NeoPa | last post Mar 31 '21 by: jimatqsi
Introduction By default VBA makes direct file I/O very hard to find. So much so that many will swear it isn't even supported. It is. AND, it does the job extremely fast. This Class Module handles direct file I/O as well as buffering. It even provides a routine for searching through a file for a simple string, as well as a simple string...
5
2,089
thread by: dalaniz85 | last post Feb 21 '21 by: NeoPa
Greetings... I'm looking for help; is there a way to allow "certain" duplicate entries in an Access table and still be able to restrict others? I have a entry access database for tracking visitors. On the access table itself, there's a column for a visitor badge numbers. However, since that column is indexed and won't allow duplicates. How...
5
1,911
thread by: privateguy | last post Feb 20 '21 by: isladogs
I have 2 tables, one called Reminders and the other one is named Preset Events. The tables are not joined. The Preset Events table mirrors the Reminder’s table except it does not contain the Date field or the Person’s ID associated with the event. The Preset Event table contains default values for a given event, i.e. for a wedding anniversary, I...
30
4,388
isladogs
thread by: isladogs | last post Mar 14 '21 by: isladogs
As the forum has apparently gone into hibernation recently, I've got two questions that I will post and hopefully wake things up again... As part of my work on making Access apps as secure as possible, I already have code to detect the state of various properties and where these have been changed, the application quits automatically. For...
10
2,423
isladogs
thread by: isladogs | last post Mar 7 '21 by: isladogs
This is a curiosity I discovered by accident several years ago. I've raised it at several other forums since that time but never had any response to the question. Perhaps this time will be different If you open the VBE and press Ctrl+T, a Components dialog appears with two tabs: Controls & Designers. ...
3
1,922
thread by: Akokoh Joel | last post Mar 7 '21 by: isladogs
Loan amount of 20000 was given out to be paid in 4months, 5000 each The first month 5000 was paid, but the second month was not paid. So how can it be done such that the 5000 for second month will appears as OVERDUE. which query can do that?
8
3,525
thread by: ZKAHADI | last post Mar 15 '21 by: isladogs
hi buddies. i am working on MS Access Purchase system . i made a form with a subform name PurchaseForm contain ID, ItemName, ItemQuantity, ItemPrice, TotalPrice and i made and Item Listbox name ItemBox contain items names. i want to click the item name in listbox and it fill into subform itemName. as i click the item fill in box and another...
2
1,925
thread by: osasaosasao | last post Mar 10 '21 by: NeoPa
Hello, access 2010. I would like to enter the serial number following criteria: year (21) month (xx) 0000 (progressive). It must automatically generate it in the order form. Thanks so much
2
2,052
isladogs
thread by: isladogs | last post Mar 10 '21 by: isladogs
This isn't so much a question but information about an obscure bug in Access ...and a workround Last year, a fellow Access developer reported this to me as I work extensively with what I call 'deep hidden' tables using property dbHiddenObject (MSysObjects Flags=1). If a table containing data in attachment or multi value fields is 'deep...
14
4,913
SueHopson
thread by: SueHopson | last post Mar 19 '21 by: NeoPa
{This thread has been created as an offshoot of Adding Time in Calculated Time Fields returning as Strings} I have gotten a bit of user feedback, I have a question I would like to ask. If I wanted to set the form fields to unbound and use a button to append the resulting info to a table, how would I write the append expressions in VBA? MON:...
8
3,077
thread by: Fazolator | last post Mar 11 '21 by: isladogs
For starters, I'm not asking the usual question about how to link the records in a subform to the main form. I know how to do that by linking Master and Child fields. The problem I'm trying to solve is that Access won't allow split form view on a sub-form. A scenario: Assume there are two tables, like this: Table1 - Invoices InvoiceNumber as...
3
1,731
thread by: Neruda | last post Mar 13 '21 by: NeoPa
Hi I need to edit a specific record on a main form using a popup form. this is the code: Private Sub resetThisForm(strAction As String) On Error GoTo ErrorHandler Dim rst As DAO.Recordset Select Case strAction Case "Swap"
2
4,575
thread by: tgifrank32 | last post Mar 15 '21 by: cactusdata
Hi. I am using Access 2010, I have a table like below. In a form, I have a combo box linked with the NAME field and have a buttonm, COPY next to it. ID NAME NUMBER 1 BACH 1-1212 2 MOZART 2-2323 3 BEETHOVEN 3-4343
1
2,483
thread by: ZKAHADI | last post Mar 16 '21 by: isladogs
hi friends. how we can print barcode copies. for example i have one item like Tea mug quantity 20 how i can print the 20 barcodes copies on one report.
22
13,383
twinnyfo
thread by: twinnyfo | last post Mar 9 '23 by: NeoPa
(@niheel - I love the new UI!) Friends, I have a tiny little FE that manages some data updates that I receive from various places. Because anyone could use this FE from anywhere and access the files from anywhere, the FE needs to find the files, and then link the data tables to itself. All this work perfectly. However, I have noticed that...
8
4,449
thread by: Joe Y | last post Mar 23 '21 by: NeoPa
Hi, I have an access database that handle sales and shipping. In the shipment form, user can click a button to take following actions. 1. Check largest invoice number in the order table then add 1 as new invoice number to be assigned to current order record. 2. Add new record to two tables associate to invoice payment: and . There is...
1
2,354
isladogs
thread by: isladogs | last post May 13 '21 by: isladogs
The annual Access DevCon event will this year take place on 22/23/24 April. As was the case last year, it will be a virtual conference and the programme has just been released. Full details of the conference agenda can be found here. Registration and pricing is available here. As always it is likely to get fully booked quickly
3
3,908
twinnyfo
thread by: twinnyfo | last post Mar 29 '21 by: NeoPa
Hello Friends, 'Tis me again, with what might possibly be a very simple question, but one I just don't know where to start searching. I will begin with an example that should make sense to everyone, then describe what I am trying to do. First, a common example. Let us say we are working with an object. An object has properties, some of which...
1
3,632
thread by: sdjmagoo | last post Mar 30 '21 by: NeoPa
I am needing to evaluate a record set and remove records. My table has multiple Records with Unique Effective Dates by Action. I need to compare each record to the next record and remove the record in the table if the Action in the record below it is equal. I started with a simple OpenRecordset for printing to identify database and record set...
14
6,789
thread by: ZKAHADI | last post Apr 13 '21 by: ZKAHADI
i created an append query in which i need current to be append into another table. SQL INSERT INTO PaidFeeT ( FacultyPaid, MonthYearPaid, SecurityFeePaid, AdmissionFeePaid, TotalFeePaid, SR ) SELECT FeeT.Faculty, FeeT.MonthYear, FeeT.Security, FeeT.AdmissionFee, FeeT.TotalFee, FeeT.ID FROM FeeT WHERE (((FeeT.SR)=!!)); from the form its...
4
5,675
thread by: mshakeelattari | last post Apr 12 '21 by: isladogs
On a form, I have a combo box with list of tables using 'msysobjects.name'. I want another combo showing list of fields of the table name selected in first combo. How is this possible? Please help me. Thank you.
30
4,984
thread by: didacticone | last post Apr 19 '21 by: didacticone
Hi, I am trying to create a form, that will randomize data from a table. For example, I have a table called "tbl_master". It has 3 fields, sport, athlete, speed. I would like the form on a button press to take one random entry from each field. I have managed to do this with one field, but cannot figure out how to do it for all 3. What i have...
1
3,547
thread by: travelerq9 | last post Apr 15 '21 by: NeoPa
I have a table with 169 records and created a form. I wanted to add another field to my table to also show in my form. When I could not see the new field in Form Design view I went to Properties, Data Tab and changed Data Entry to Yes. After that I saved the form and went back to Form View and there was only 1 record and it was totally blank. ...
1
3,392
thread by: gcdp | last post Apr 15 '21 by: NeoPa
is it possible to get the search feature to function if an entry matches more than one category? We built a data base for contacts and many contacts match more than one of our categories. We are finding the search box no longer works once we entered contacts and matched them up to multiple categories. As an entry person, I am at a loss...

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.