473,544 Members | 1,420 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.
6
1,823
thread by: JPetersen | last post Jul 11 '19 by: NeoPa
I have a subform of all the customers for the day (limited info). I want to open the specific record on the parent form by clicking an action button, on a specific record, on the subform. I have the following Event Procedure for the action button. When I run the procedure, I get a Run Time Error (3021), No Current Record. What am I doing...
14
1,205
twinnyfo
thread by: twinnyfo | last post Jul 10 '19 by: Seth Schrock
First, yes, the title of this thread doesn't make sense, so if anyone can come up with a better one, I'm open to it. Here is the situation: I have two Tables. Table1 - This is a list of words in the Greek New Testament, sequential, indexed, listing the word forms, root form, translation and a dictionary entry. This dicitonary entry is the...
10
1,287
thread by: tallen | last post Jul 8 '19 by: NeoPa
Our IT staff will no longer support Microsoft Access. We were working in Access 2013 and now we have been upgraded to Microsoft Access 2016 until our company moves to Accela for our database needs. Surprisingly, our Access 2013 database still works in Access 2016 except when we try to run the following module. Can anyone help me re-write the...
3
1,610
thread by: amber capriles | last post Jul 4 '19 by: NeoPa
I export my table to XML using the export form from access but doesnt look like it should because is looks different from the .xsd file especificatins I must follow. How do I tell access to use this especific .xsd file when exporting my data to the XML file??
5
7,005
thread by: billelev | last post Jul 3 '19 by: akemmons2
I have a cross tab query with Date as a row heading and a series of Names as column headings. The Value for each Date/Name intersection can either be -1, 0 or 1. For example: Date, Name1, Name2, Name3, Name4 1/1/2000, -1, -1, 0, 1 1/2/2000, 1, 1, 0, 0I would like to have a column ("Members") that counts the non-zero values for each row. ...
4
1,060
thread by: cwazyruss | last post Jul 3 '19 by: NeoPa
I have created a data base with 3 tables. The first table has only 2 records and each record is linked to many in table 2. I have used a form sub form to eneter table 2 data without problems. I just select the name of the record in table 1, and enter everything else in table two. In table two I have used a lookup to table one for the name in...
1
867
thread by: Vetamere | last post Jul 3 '19 by: NeoPa
Here is the code that keeps erroring out. If (IsNull(DLookup("EmployeeID", "tbl_EmployeeData", "EmployeeID = '" & Me.txtEmployeeID.Value & "' And password = '" & Me.txtPassword.Value & "'"))) Then MsgBox "Invalid UserName or Password!" Else 'Verifying the User Security UserLevel = DLookup("User Level",...
5
6,823
thread by: duffyt60 | last post Jul 2 '19 by: NeoPa
I have created a unbound text box (txtSearch) and a Button to use with the text box for searching all records on a form. The field on the form that I am using for the search is labeled Full_Name. When I try to search for a first name of any user in the Full_Name field nothing happens and I get no error. Here is my code. Private Sub...
11
1,027
thread by: Mobe123 | last post Jun 30 '19 by: NeoPa
Hi all, i would appreciate your professional help. i am create a restaurant POS. i have buttons on a form, where each buttons adds an item (Burger, Pizza...) into order table and displays it in a continues form. my question is how to add a topping to Pizza for example. let assume a customer order pizza i have the button that adds pizza but if the...
2
904
thread by: AdmiralN | last post Jun 28 '19 by: AdmiralN
Hi, I'm very new to Access and having great difficultly trying to sync 2 combo boxes. I have been using The MS Access help for this issue. I have one Combo box titled sboPackageNumber and and another titled sboPackageDescription. My Table the data is taken from is called Sheet1. The columns on the table are Package Number and Package...
5
943
Seth Schrock
thread by: Seth Schrock | last post Jun 27 '19 by: NeoPa
I have created a class module that should allow me to sort records in a form based on selections made by the user. In this case, I have the user double click the label to sort by the corresponding field. Everything works great except that it doesn't sort anything. Part of what it does is change the label captions to include up or down arrows to...
10
1,500
thread by: KaeKae | last post Jun 22 '19 by: zmbd
I have an Access form with action buttons one of which is a duplicate record button. When activated, the duplicated record has one of the yes/no fields toggled on. It is not toggled on in the originating record; just the duplicated record. Any idea of why it is happening and how to correct or stop it? Any help will be greatly appreciated. ...
1
1,262
thread by: ragavisr94 | last post Jun 22 '19 by: zmbd
Hi, I want to pull values from a text box during the button on-click event in a form and store it as a new make table function. Or While clicking the button, I want to use the values in the text box to create a new table and show as output. Any help would be appreciated.
8
1,393
thread by: GTC07300710 | last post Jun 20 '19 by: zmbd
I have an access database that is split into a front end and a back end database. I have around 50 make table queries that make a table in the back end database. Currently I have the Another Database radio button checked Under filename I have referenced a Path and the back end database name. A user may request the back end database to be...
3
1,104
thread by: CD Tom | last post Jun 20 '19 by: NeoPa
My reports have a =date() and =time() in the headings to show when the report was run. However on some computer when the report is run those fields show up with the #Name? I'm sure it has something to do with a reference being missing but which one? Thanks
1
1,075
thread by: alanf89 | last post Jun 20 '19 by: zmbd
hi, i am new to this website. But i was looking for answers to solve a problem which I have with access. would you be able to help me please? I have a query named "qry_BO_NA_Search". I also have a form which it's job is to search by different criteria from the query. In the form, I want a button to export the search results only...
2
1,138
thread by: Gerry121 | last post Jun 18 '19 by: zmbd
I have created a database (New to Access) to keep track of the club members. BUT I want to record the start dates and finish dates of the members fees. I want to be able to look back and see what members paid fees and from and to dates. Is this possible and anybody have an idea how I could do it. Thanks Ger
1
1,232
thread by: marshdom | last post Jun 12 '19 by: NeoPa
I have a table containing an airline's complete flight listings for a month. Using Group By I have made another table containing all the flight numbers with unique properties other than date departing (eg flight number 2322 appears in the table twice, departing at 09:00 and at 09:10 on another occasion). Most flights leave at the exact same time...
9
3,661
thread by: Dhrumilen | last post Jun 11 '19 by: NeoPa
I need to generate a serial number by selecting drop down menu and adding data in text box using Form. Drop down Menu : It consist of table what would have individual ID. EX : Table : Product1; ID = 23. Product2; ID=24 and so on. Text box data in a form : It could be any value "Numeric" Random. Serial Number EX:
7
2,118
thread by: GeneH | last post Jun 10 '19 by: zmbd
Hello, I am trying to requery a control on a main form from an AfterUpdate event of a control on a subform and then return back to the record and control at the subform. Instead i am returned to the first record of the subform. When i debug, it seems correct, the record i want does show correct at the findfirst statement. but at the form the...
9
2,508
DJRhino1175
thread by: DJRhino1175 | last post Jun 10 '19 by: DJRhino1175
Found this code off a google search to remove the close "X" from the title bar. But when I go to compile it throws an error. Compile error: The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them PtrSafe attribute. Private Const GWL_EXSTYLE = (-20) Private Const...
7
2,315
thread by: ZZEE | last post Jun 9 '19 by: NeoPa
Hello, I have an access database with 50 tables. I am looking to export all tables into a folder on my computer. The issue I'm having is the data in access has carriage returns or line breaks on some lines. When I open the exported CSVs as a text file, some lines are broken up. What code am I missing to clean the data during the exporting...
19
1,584
DJRhino1175
thread by: DJRhino1175 | last post Jun 6 '19 by: DJRhino1175
If I change the .Display to .Send I get Error '-2147221238 (8004010A) The item has been moved or deleted. Its sending the email without the attachment. If I have it as .Display it works perfect, other than having to click the send button. Also if I remove the .Display all together its the same as if it was .Send So my guess is its sending...
19
1,480
DJRhino1175
thread by: DJRhino1175 | last post Jun 4 '19 by: zmbd
Private Sub Form_Close() If Me..Value = "Purchased" Then Dim strEMail As String Dim oOutlook As Object Dim oMail As Object Dim strAddr As String Dim MyDB As DAO.Database Dim rstEMail As DAO.Recordset
8
3,303
thread by: FusionAtomix | last post Jun 3 '19 by: NeoPa
hello, I'm trying to get my list box database to open up another form that contains more information on the selected record. I can get it to open the form just fine, but it always opens o the first record, rather than the one I have selected. My error message is: Run-time error '3075': Syntax error (mising operator) in query expression...

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.