473,911 Members | 6,170 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.
9
3,154
thread by: Petrol | last post Aug 14 '21 by: NeoPa
Oh dear, I thought I understood how dates are kept and manipulated in Access, but this one has me beat. I have a subform based on a table "Team_Selection_Notes" which has three fields: PersonID (Number - the link field) NoteDate (Date/Time) and Comment (Short text)). In the subform I want to display only those notes for a person that are...
36
45,701
Rabbit
thread by: Rabbit | last post Aug 9 '21 by: NeoPa
09/22/2015 Update: A bug was found in the code. The code block has been updated with the fixed code. Description RC4 is one of the most widely used ciphers in the world. It is used in WEP, WPA, SSL, BitTorrent, PDF, etc. It is one of the simplest to understand and implement. It is also one of the fastest algorithms available. What is RC4...
8
5,760
thread by: brittaff | last post Aug 9 '21 by: NeoPa
Sorry for lack of details, this is very new to me. I have a large dataset. There is a table that has a column with the checkbox option. The table is created in the module's code. Some options in the table are selected with the checkbox and some are not. I want the records that are selected (checked) to be processed. My module runs on all the...
4
30,705
thread by: redcali55 | last post Aug 9 '21 by: asadullahmalik
Hi, Is it possible to export the design of a table to Excel (e.g. Field Names, Data Types, Descriptions)? Thanks, Laura
19
27,186
Andrew Thackray
thread by: Andrew Thackray | last post Aug 6 '21 by: kkarbasian
Can anyone explain this error. I have the following code in a button on a form Private Sub cmdExit_Click() DoCmd.Close acForm, "ActivityMaintenance" End Sub
15
32,504
thread by: Michael R | last post Aug 3 '21 by: HouseHandler
Hello forum! I have this question: I have a query with a column that uses this criteria: (IIfCustomerType()<>3,fCustomerType()) where fCustomerType() is a function result. But this criteria isn't enough because I also need a proper else condition that will show all the results. How do I write it?... I tried: ...
3
13,219
thread by: skydivetom | last post Jul 29 '21 by: NeoPa
Experts: I need some assistance with identifying a process flaw in an overall well-working function. Allow me to provide some background first. Background: - I need to compare two (2) tables: "Before" and "After". - Initially, the "After" table is a replica of the "Before" table. - At some point records will be updated only in the...
9
3,520
thread by: brittaff | last post Jul 23 '21 by: NeoPa
I am writing code in VBA in Access. I need to filtered a data set. I am brand new to this so I apologize in advance if this isn't clear. qryFilter is the query that creates a table "Filter" that only has the filtered data. BuildExhibits is the public function that I need to run with the new filtered table. Public Function InuputData() ...
3
3,436
anoble1
thread by: anoble1 | last post Jul 22 '21 by: NeoPa
When I am trying to import a .csv into a table in access somehow it is wanting to match my columns not by name but by F1-F41 or the excel sheet. How can I get it to only match on column names that are defined in the excel sheet on the first row? This is a .csv file I am trying to import. So right now I am just having excel create it's own table...
9
3,697
thread by: bryonone | last post Jul 20 '21 by: NeoPa
Trying to open a report with multiple WHEREconditions. I have 4 strings (SelA, SelB, SelC, whereStr) all defined as strings. SelA, SelB SelC all pieces of the whereStr If I set whereStr = {any of the individual strings A,B or C}, the following works DoCmd.OpenReport "rptName", acViewReport , , whereStr When I try to concatenate the...
15
4,132
Seth Schrock
thread by: Seth Schrock | last post Jul 14 '21 by: Seth Schrock
I've got a query that I'm using to track if certain tasks are completed. A task is completed based on different fields being populated. I have a table that lists which field to look for. My current solution is to use a public function to determine which field to look for and then check if there is a value in that field. The only issue is that...
4
2,994
thread by: Ganie | last post Jul 12 '21 by: NeoPa
Hi, I am working on a project using Access 2013. I have a Leave table that calculate leave days,balance leave days,used leave days, unpaid leave days. i have created it in excel and working fine. but i could not execute in access. i hoping that someone cam help me. Thank's in advance.if you need the excel i will upload it.
8
4,430
thread by: hilmi123 | last post Jul 7 '21 by: NeoPa
Hi all, First post, but long time browser. I have been using browseto over the years with mostly a good outcome, however I have now encountered some strange behaviour. I have a button which onclick changes to a different form. I can make this work fine, however on the onclick before the browseto command I have some vba code to check that...
2
5,055
thread by: cartemj2 | last post Jul 7 '21 by: randomDude
Does anyone know how to create autonumbers dependent on a chosen catagory? I'll explain the scenario..... I am working on simple a reel database for a post-production company. The required fields are: Client Title/Description
1
2,414
thread by: VeronicaNTAM | last post Jul 6 '21 by: NeoPa
Hi evryone, i am sure you have probably had this questions several times. I am new to Access, so please bear with me. i have data on an excel sheet imported into my access database. and this data needs to be inserted into two tables. The parent table is linked to the Child table with the help of a primary key in a one to many relation. i can...
1
3,372
thread by: hicksmk2 | last post Jul 1 '21 by: NeoPa
I will try to explain this to the best I can. Currently, I am creating an asset inventory system. In the system, I have 2 tables (IT Assets and Contacts) and 3 separate forms (AssetEntry-F, AssetChecking-F, and Employee-F). I am in the process of creating the AssetChecking-F form, that will serve the purpose of checking in and checking out...
9
4,053
thread by: hwsilver | last post Jun 30 '21 by: NeoPa
I'm trying to write VBA to create a button which will go to the relevant line in a linked database for a specific client. First I need to have VBA that IDs when the client name in the report matches that in the linked table. This is what I have so far. DoCmd.OpenForm "Clients with matches Full Report",View:=acFormsDS, ,WhereCondition...
4
3,958
thread by: rcsmith0712 | last post Jun 29 '21 by: NeoPa
Hi Folks. I have an access application that is using SQL server 2019 for the backend. All of my "queries" work but when the Update and insert statements execute Access will display the append or Update warning but nothing is actually being written or changed in the SQL tables. I believe I need to establish a SQLOLEDB connection string in my...
7
5,416
thread by: Barbara1999 | last post Jun 23 '21 by: NeoPa
Hi! I have a splitform where I want to have the button to allow the user to choose and import the file into the table. I have something like this: Private Sub Command287_Click() With Application.FileDialog(msoFileDialogOpen) .Filters.Clear .Filters.Add "Excel Files", "*.xlsx,*.xls" .Filters.Add "Access Databases", "*.accdb" ...
3
3,451
thread by: Davism4 | last post Jun 18 '21 by: NeoPa
Hi all, Can I pick your brains please? I need to a scan a serial into search box to return it's records of repair into a list box. There will be more than one record against the same serial. I want to be able to select a repair job from the list box to view the full details in the form below. The db is only using 1 table. What would...
0
2,859
thread by: jimatqsi | last post Jun 18 '21 by: jimatqsi
My most important client is changing their ERP from Sage to ERP-One+ by Distribution One. The new database is Progress, and they've installed an ODBC for me. I'd like to know if you have any experience with Progress and what quirks or gotchas I might encounter with that connection. I do not, unfortunately, get server access, so I cannot write...
7
6,985
thread by: hwsilver | last post Jun 17 '21 by: isladogs
I have pulled Clients, Volunteers and Meetings into tables into Access. I need to make a summary page for each Client and Volunteer. If they are matched then the summary should include the name of the client or volunteer with whom they were matched and the first and last times they met. To do this I made a Left Join between the volunteer table and...
4
3,559
thread by: Eddie2020 | last post Jun 16 '21 by: isladogs
Hi Everyone Im struggling to pass a form value to a public sub sqlstring, when I reference the form directly, it works... Public Sub CalDeleteTopSheet(strCal As String) Dim strSqlDelete As String strSqlDelete = "DELETE " & strCal & ".Summary" & vbCrLf & _ "FROM " & strCal & vbCrLf & _
17
7,250
TheSmileyCoder
thread by: TheSmileyCoder | last post Jun 14 '21 by: Rabbit
In the office users often leave my application running when they go for lunch. While they are away the PC will go into standby or suspension, and the network access will be lost, causing a error message when the users return to their machines, not to mention that the backend is usually blocked from edits even though noone is actually using the...
1
2,139
thread by: tgifrank32 | last post Jun 14 '21 by: NeoPa
Hello! I have a situation where there is a "Welcome" from(page) when it is first opened and there are buttons (such as Repair, Quotation and New) in the page. I want to make those buttons move to the forms -Repair, Quotation and New- that are under a NavigationControl when those buttons are clicked. Once it's first entered, I can move freely...

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.