473,545 Members | 957 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
36,163
n8kindt
thread by: n8kindt | last post Jul 9 '08 by: n8kindt
hey guys, i have a function that can recognize a space character in a string... how can i get it to replace a space with a underscore character Public Function RemoveSpaces(strInput As String) ' Identifies spaces in a string of text If InStr(txtEmail, " ") = 0 Then msgbox "Spaces are not allowed) Else: Exit Function End...
4
36,189
thread by: Newbie12345 | last post Jun 19 '12 by: AtLarge
I have a crosstab query which gathers data from a regular table and creates columns for the months in the year with volume for each month. I want to be able export/send the data to a brand new table, which would keep the new formating with the months as fields. So basicall i want to create a table from that crosstab query that looks identical...
4
36,215
MMcCarthy
thread by: MMcCarthy | last post Dec 26 '21 by: NeoPa
This function returns the username of the currently logged in NT User. ' This library must be declared Declare Function GetUserName& _ Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) Function sys_OrigUserID() As String
2
36,264
thread by: ncsthbell | last post Jun 27 '08 by: ADezii
Within the access code, can I create a new report, or edit existing and cut and paste (or whatever method possible) and insert a word document in to the report detail?
3
36,314
thread by: cassandra.flowers | last post Nov 12 '05 by: Don Leverton
Hi, I was wondering if it is possible (Using access) to have a query parameter as a drop down box rather than a text box? e.g. typing as criteria for a query produces a box with a text box for you to enter the parameter. Can any body enlighten me on how to turn this text box into a drop down box? And whether it is possible?
4
36,329
thread by: Sue Bricker | last post Nov 13 '05 by: Trevor Best
Greetings. In Access, is there a way to open up a drop-down combobox with keys on the keyboard, instead of using the mouse to click on the down arrow of the combobox? I really prefer to use the arrows on the keyboard and the enter key to make my selection. But if I have to click on the down arrow of the combobox then I might as well use the...
10
36,457
thread by: AccessThis | last post Jun 6 '12 by: Stuey
Hi everyone, I have a database with a form on which I have a listbox which is used as a kind of 'menu' (i.e. it lists the titles of all the records in the database). Can anyone help me set up a code so that if I double-click on a record title in the listbox, the form will jump to the corresponding record? I've tried various DoCmd.GoToRecord...
7
36,679
thread by: deko | last post Nov 12 '05 by: Bruce M. Thompson
I'm getting intermittent "Object Invalid or No Longer Set" errors in my Access 2002 mdb. What causes these errors? Has anyone dealt with this before? I can't trace it because it's not easy to duplicate -- it just show up... I've heard that spurious queries that use Now() or Date() or some other date
15
36,685
thread by: lucyh | last post Jan 12 '11 by: colintis
I have created a database and it is used by two people. They rarely need to access the database at the same time. I have created the Database as "Shared" but they are unable to open it at the same time - although I can open the database if one of them are in it. Is this something to do with the network permissions? I have heard about...
8
36,687
thread by: aflores41 | last post Apr 13 '15 by: jforbes
Hello Everyone, I was wondering if anyone knows of a way to add a code that would automatically refresh link tables upon opening of database. This is needed due to fact that sometimes split forms wouldn't open due to a lagg and would freak out the user with the error. The fix was to refresh linked tables manually. THanks./ -AF
2
36,799
thread by: czbacnik | last post Apr 12 '06 by: Mikal via AccessMonster.com
Hello! All I want to do is have my phone numbers appear (555) 555-5555, but for some reason I keep getting all these weird -- in between the numbers. I read that I should put "(999) 999-9999"! as an input mask, but that didn't work. Does anyone have a suggestion? I appreciate the help! Thanks,
3
36,954
bhcob1
thread by: bhcob1 | last post Feb 13 '07 by: ADezii
I have a list which is populated with Fields from a table, I want to be able to determine if the data type of the value selected in the list is Number. Any ideas, i thought there would be something along the lines of Me!lstQueryCriteria.Datatype, but my results turned up no dice. The reason I wish to do this is, because I am creating a query...
1
36,978
thread by: ET | last post Mar 17 '06 by: James
Hello, is it possible to download files from web site, if list of files is given as full URL, for example: http://www.somewebsite.com/file01.jpg Thank you!
4
37,003
thread by: kathnicole | last post Sep 2 '07 by: kathnicole
Hi there, Could anyone please tell me how to get the Day (i mean DD from DD/MM/YYYY) from the Date field. I have a created a database for a Loan company. if the Loan Start Date is 20/01/2007, then the due date to pay the interest will be 20th of every month. as of now, i have a field called Due Day where i manually enter the day for each...
30
37,008
ADezii
thread by: ADezii | last post Sep 14 '16 by: kpus
For this Tip, we will show you an extremely handy, multi-user, feature of Jet that allows you to manage Users more effectively. You can create a special, provider-specific Recordset in ADO that supplies information about the current Users in the Database. This is accomplished by using the OpenSchema() Method of the Connection Object, which will...
5
37,013
thread by: bullfrog83 | last post Jan 20 '11 by: bullfrog83
I have a login form. If a user enters the correct username and password I want to open certain forms and close the login form (among other things) when the Sign In button is clicked. I have this code in the cmdSignIn_Click() event: DoCmd.OpenForm "f_Families" DoCmd.OpenForm "f_GiftProcessing" DoCmd.OpenForm "f_Reports" DoCmd.OpenForm...
8
37,055
thread by: William Ortenberg | last post Nov 12 '05 by: Michael \(michka\) Kaplan [MS]
I'm trying to capture when a user presses a particular key (escape), so I'm coding in the KeyPress event. Yet the code seems be bypassed (breakpoint is never encountered). Should I be coding in a different event? Is this a known issue? FYI, this is happening in both Access 97 and 2000.
4
37,070
NeoPa
thread by: NeoPa | last post Oct 16 '23 by: NeoPa
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting : External Data (Ribbon) PDF or XPS (from the Export Group) Select all desired options Publish That's fine, but how to get this done in VBA?
4
37,086
Jerry Maiapu
thread by: Jerry Maiapu | last post Mar 23 '17 by: lavenderchan
I have been working on a project and one of the things my client wanted was to have a nice formatted duplicate excel spreadsheet of a manually filtered sub form datasheet with all records exported including memo. I at first struggled but have come up with the following code which I wish to share as I know that people will need it for their...
5
37,151
Alireza355
thread by: Alireza355 | last post Jul 14 '10 by: Bruce Robbins
I have an access database, with the default switchboard opening and maximizing on startup. I have put an ON-LOAD event, that opens a pop-up, modal form called frmLogin to ask for username. When the application starts, the switchboard opens, maximises, and the frmLogin form pops up. But sometimes, I don't know why, the pop-up form is not...
6
37,196
thread by: Lauren Wilson | last post Nov 13 '05 by: Lauren Wilson
Hello group, Somehow, I have not yet fully understood the meaning and purpose of "DoEvents". Can someone post or point me to a clear, concise explanation of it -- one that includes situational examples of how and why it is used? The Access on-line help is not as helpful as I need for my mental density! Sorry to be so dense. Please...
10
37,275
thread by: webgirl | last post Apr 4 '07 by: webgirl
Hi there, I've been searching the net & the forums here over the last few days for help with my problem & am getting myself really confused.. hoping someone may be able to help me here. I've got a continuous form which has 6 textboxes in each row, one of which contains the name of an Assessor, who (in another table) will have a particular...
6
37,358
thread by: ccocker | last post Jan 14 '19 by: Lamar
Hi guys, I have in the past referred to controls on subforms without any issue, however with the new navigation control there does not seem to e a subform to refer to other than NavigationSubForm. I have tried the following: Me!! = Forms!!cmbCustomer Me!! = Forms!!cmbCustomer I have also tried:
2
37,486
thread by: tonytony24 | last post Mar 23 '06 by: Anthony England
Hi All: I was wondering if there's a simple way to call a MS Access Module through either Command Prompt MS Script any other way... Thanks for the response.
5
37,540
isladogs
thread by: isladogs | last post Apr 18 '23 by: isladogs
The next Access Europe meeting will be on Wednesday 1 Feb 2023 starting at 18:00 (6PM) and finishing at about 19:30 (7.30PM) UK time (UTC) The start time is equivalent to 19:00 (7PM) in Central Europe / CET (UTC+1) and 10AM in Seattle / PDT (UTC-8) For local times, please check https://www.worldtimebuddy.com/ I am very pleased to announce...

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.