473,544 Members | 1,822 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.
2
22,988
thread by: michellep | last post Nov 13 '05 by: Mark G. King
I have an excel spreadsheet that I imported into Access, and there is a Name field in the format of last name, first name. I'd like to break this into 2 separate fields. How can I do this? TIA!
3
22,999
thread by: Kappucino XL | last post Sep 1 '09 by: OldBirdman
Hi There.. What is the Macro or Code Builder Event, For Copying And Pasting. i.e: I need to click on a field in a textbox, and it must be copied jus by clicking on it. Then I want to click on an empty textbox, and the field I copied must get pasted... How do I go About doing this? XL
4
23,000
reginaldmerritt
thread by: reginaldmerritt | last post Aug 22 '10 by: liimra
I'm trying to see if I can use DLookup instead of a Recordset to find a specific record. To find this record I think I only need one criteria. The problem is that this record must be the record with the oldest date amongst all the records with this criteria. DLookup("Bottom 1 EndDate", "TBTasks", " = " & Me.ProjectID) The expression...
0
23,003
ADezii
thread by: ADezii | last post Nov 12 '07 by: ADezii
Generally, the number of Arguments in a Procedure Call must be the same as in the Procedure Specification. If a Procedure requires 3 Arguments in its Specification, when calling the Procedure you must pass exactly 3 Arguments which should be of the specific Data Type and in the correct order as defined by the Procedure itself. A simple case will...
4
23,022
thread by: b4iquit | last post Apr 28 '10 by: newnewbie
Hi, I need to rack and stack some data using a pivottable. I'd like to do it in excel. I have the query in Access 2007 finished but it is 800,000+ records. How can I get it to Excel 2007....it keeps giving me errors related to 65K line limit. Super frustrated....and not highly skilled at Access but on a deadline. Thanks
5
23,038
thread by: gwarning! | last post Nov 12 '05 by: gwarning!
Goal: Have multiple text files, each of various lengths, be concatenated together into one final consolidated text file. Problem: Since the names of the files to be concatenated can change from day to day, I need to be able to dynamically generate a batch file to concatenate these files. So far, I have looked at using...
5
23,038
thread by: BerkshireGuy | last post Nov 13 '05 by: David W. Fenton
Hello everyone, I have a bond form that a user uses to enter data. One of my fields, is PolicyNumber. I added some code on the Before Update event of txtPolicyNumber that checks to see if that policy number is in the system when entering a new record. If it is, I want it to display a message and go back to the policy number field. ...
14
23,039
thread by: yuvang | last post Oct 21 '08 by: yuvang
Please help on how to show a busy message like "Please wait" or a "analytical animated watch" in ms access when a process in running.
5
23,047
thread by: Bugga Bugga | last post Nov 12 '05 by: Bugga Bugga
I have been working on a database containing the verses from the Bible and the figures of speech that apply to the verses. All but one of the fields are text fields. There is one memo field that contains the passage because I was not able to use a text field because some passages exceed 254 characters. The database was prepared using...
4
23,049
thread by: Haas C | last post Aug 29 '08 by: Arch
Hi all, I have a table with two columns, labeled Year and Loss. In the Year field, I have the numbers 1 to 10,000, each which can or cannot repeat. In the Loss column, i have numbers corresponding to the Years...for example: Year, Loss 1, 568 1, 621
5
23,052
thread by: HB2 | last post Nov 13 '05 by: David Schofield
Is it possible to obtain the IP address of my desktop using a Visual Basic command?
20
23,062
thread by: Steve Jorgensen | last post Nov 12 '05 by: rkc
A while back, I started boning up on Software Engineering best practices and learning about Agile programming. In the process, I've become much more committed to removing duplication in code at a much finer level. As such, it's very frustrating to be working in VBA which lacks inheritance, one of the more powerful tools for eliminating...
7
23,064
thread by: Ares6881 | last post Aug 22 '09 by: Stewart Ross
This error has been driving me a little bit nuts, I have 2 reports going off the same query, the query pulls in data from a crosstab query. One of the reports is working just fine, but whenever I try to run the fourth one I get the error (the microsoft office access database engine does not recognize " as a valid field name or expression). The...
6
23,071
thread by: Mihail | last post Jun 4 '13 by: Mihail
Hello again ! Is it possible to have custom Column Heads in a ListBox (ComboBox) ? I have a ListBox bounded to a table (if necessary I can bound it to a query). One field (or ListBox column) is for prices. This prices (all of them) can be either in European money (Euro) either in Romanian money (Lei). If the prices use Euro or Lei, is the...
2
23,101
thread by: VSS | last post Oct 11 '07 by: nico5038
Hello, I need to know what is the maximum number of records Access can hold? I need approx. 6 million records, do you know if Access can hold this amount? Thank you everyone.
7
23,124
thread by: Bluejay906 | last post Aug 3 '07 by: kucster
I have two reports I want printed with Cute PDF Writer. Right now, the user has to select this printer, but I want it bound to the reports. I used this technique with Access 97 - I set the printer as part of the Design mode and this particular printer becomes the default for the report. Access 2003 doesn't seem to work the same way. How can I...
4
23,139
thread by: Paul | last post Nov 13 '05 by: Allen Browne
I would to remove dashes from 111-22-5555. I am importing text file and some of the numbers have dashes and some don't Thanks
2
23,150
thread by: leegold58 | last post Aug 9 '07 by: King Ron
Newbie question must of been asked before but: How do I count the number of tables in a database? Without VB, prefer to use SQL or the Access GUI somehow. Thanks. Lee g.
3
23,166
thread by: Ryan Hubbard | last post Nov 13 '05 by: MGFoster
I would like to run a query from VBA. The query will be one with parameters. Is there a way to run the query and have Access prompt for the values like it does if I where to execute it through the database window?
19
23,169
thread by: (PeteCresswell) | last post May 15 '06 by: Larry Linson
I'm going over an application written by somebody else and have encountered what looks to me like nested "With"s. Is this something new with MS Access 2003 or am I losing it? Seems to me that when I tried nesting "With" clauses in MS Access 2000 it was a no-no. Some sample code - in which it looks like they're creating/populating a...
12
23,177
thread by: Be Borth | last post Feb 3 '19 by: Loyno18
I saw previous solutions to convert a month number (1) to a month name (January). I have a database with 200+ dates. In a query, I use the "Part" function DatePart("m",), to extract the month (number) and all month extracts worked correctly (they returned the correct numerical month). However, when I attempted adding a field in the query to...
2
23,204
thread by: BerkshireGuy | last post Jan 20 '06 by: BerkshireGuy
Brendan Reynolds posted the following function a while back ago: Public Function HoursMinutes( _ dtmStart As Date, _ dtmEnd As Date _ ) As String Dim intHours As Integer Dim intMinutes As Integer
9
23,219
code green
thread by: code green | last post May 14 '07 by: MMcCarthy
I want to compare two text fields and return records where they differ. But I need to ignore the last 15 characters of the first string. Is there an equivalent to this function in Access SUBSTRING(field1,-1,15).
4
23,230
thread by: Mike Wiseley | last post Nov 12 '05 by: Mike Wiseley
I have a VBA program that creates and emails a series of reports to a mailing list. These reports are queried off tables that are linked over the internet to a web server. Occasionally, the ODBC connection is dropped on one of the large reports (perhaps do to high traffic over the web). When this does happen, I would like to error trap this...
3
23,259
thread by: Prakash Wadhwani | last post Nov 12 '05 by: Rick Brandt
In a report I have 3 sub-reports. Each Sub-Report has it's own Page Header. When I run the sub-reports individually, the page headers print correctly ... but ... when I run the main report the subreport page headers do not print (they are simply invisible). The Sub-Reports' Report Header Band does get printed though. Any idea why the...

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.