Questions tagged [ms-access-2007]
Microsoft Access 2007 - a rapid database application development tool
4,353
questions
0
votes
3
answers
65
views
How to compare date in string type in SQL query using MS Access and OLEDB
I am using MS Access as database and using OLEDB. In database I am storing dates as strings. I can't change them in date type (I know it would be easier to work with dates as dates and not strings but ...
0
votes
1
answer
28
views
Expression Builder for a command Button in MS Access
I am new to MS Access and would like to work with buttons of a form. I wanted to understand a point
I have a text box search and I have a button in the form
I don't want to use VBA and with the help ...
0
votes
2
answers
25
views
Fetch data in database always display first record
When i search differennt building number in search box it always display first record in the table.
When i tried diffrent building number it does now display it always stay first record of the table.
...
0
votes
2
answers
36
views
How to have a text box contain a character position under each character
I have a text box on an MS-Access 2007 Form (its old, but its what I have) called text_record. I want to display the characters in the text box with a positional line directly underneath the text. ...
0
votes
0
answers
19
views
Access Combo box not displaying the value I chose
Project:
Create an Access database for storing the sales of my Tuck shop.
Index:
Item(Bold) - a field name.
Item(Italic) - a value in field Item.
Goal:
I want to create a table where I chose an Item ...
0
votes
0
answers
37
views
How could I implement multiple members on a single donation?
I am making a database through access for a church.
Most of the time, couples tend to donate a sum but sometimes they may choose to donate individually for specific fundraiser events.
I am very rusty ...
0
votes
2
answers
31
views
Is there a way I can link a selected record in a subform to a textbox in the form?
I am trying to create a form where I have a section with text boxes and a subform displaying all the data in the table, I've created the text boxes and subform and managed to display the data. However ...
0
votes
0
answers
45
views
LACCDB record locking file does not close
I have a problem with my back end data file staying open, LACCDB file stays open. I have narrowed it down to a few lines of code that is causing the problem. I have tried a number of solutions but ...
0
votes
1
answer
63
views
Open files from drive with hyperlink - MS Access [duplicate]
I got the code to open file location folder, however I would like to straight open the file by clicking on the link. Files are PDFs, Word, Excel etc.
Can someone please help, I am very new to this so ...
0
votes
1
answer
30
views
Open a file from network drive by clicking on a link - in Microsoft Access form
I have the below code to open a file location FOLDER, however I would like to open the file itself instead of folder location.
Can someone suggest what should I change in the code.
Private Sub ...
0
votes
0
answers
21
views
Access Query based on user defined list
I have been trying to search for the answer to this question but unfortunately, I cannot even think the bets wording to use to search for a solution. The first part is working great! What is working:...
0
votes
0
answers
11
views
i neeed to change ms access 2007 date format for all separate files together
how to change date format dd-mm-yyyy to mm-dd-yyyy for separate files in access.
currently I doing changes one by one for each file .
can I have a solution.?
-1
votes
1
answer
16
views
Why is there default expression in my access form record source?
when I open my form as design view, in the property sheet, there is a default expression in the record source?
exec psel_people,1,24595,null
enter image description here
0
votes
2
answers
45
views
Split multi-value field into different rows using SQL in Microsoft Access
I’ve got a simple table in Microsoft Access that looks like this:
Primary Key
Applications List
123
<Value>|<Value>,<Value>|<Value>
456
<Value>|<Value>,<Value&...
0
votes
1
answer
68
views
Show a name instead of an id
I currently have these options set in a combo box:
This box will show the projectIDs that a current company has which is set with the criteria. I just want to show the name of the project as people ...
0
votes
2
answers
32
views
Combobox List Width not sizing the dropdown list
So I am working in access trying to get different queries to pull specific information when a select case is met.
This is what I have so far
Select Case Me.vPipeFlowDirection.Value
Case "...
0
votes
1
answer
35
views
how to find missing number in a row in ms access
I have the below series:
REF NO
AI951
AI952
AI953
AI954
AI955
AI956
AI957
AI958
AI959
AI960
AI961
AI962
AI963
AI965
AI966
AI967
AI968
AI970
AI971
AI972
In above column series, AI964 and AI969 are ...
0
votes
1
answer
65
views
solution for script error with only access runtime
I have a pc with only access 2007 runtime installed, NO complete access sw.
I use .vbs script for run a module, like this:
dim accessApp
set accessApp = createObject("Access.Application")
...
0
votes
1
answer
28
views
How to set shortcut key to open query in ms access. can some body explain clearly
How to set shortcut key to open query in ms access. can some body explain clearly. how to set shortcut key to already designed qureiess
0
votes
3
answers
19
views
MSAccess query between two time fields when adding fields together works fine when subtracting gives error
I have two fields on a query MinOfClocked_Time and MaxOfClocked_Time, When adding the two with the following code
TimeWorked: [MaxOfClocked_Time]+[MinOfClocked_Time]
and i get a result of 07:0207:02, ...
0
votes
0
answers
25
views
Using VBA in Access to Add/import attachments using column with file location
I'm trying mass import attachments onto a table without having to do them one-by-one.
The Database name is "Student_DB-plaintext"
table name is "Letters_add_photo"
Primary key is &...
-3
votes
1
answer
55
views
Store values of Ms access database into an array [closed]
I want to store selected values of an access table in an array. I'm using oledbconnection. For example, I have a students table in course database. And the table has dob values in it. I want to run a ...
0
votes
1
answer
49
views
change value of selected records from ms access database in datagridview in vb.net
I'm working on attendance management system project in vb.net and I'm adding leave feature in it. I have a form in which teacher can add attendance datewise to a db and a leave form where teacher can ...
1
vote
0
answers
32
views
MS Access Error 3027 Backend can not be updated
I have a Front End and a backend MS Access database application. The Original PC died, so we built a new pc with an ssd HD. installed the new front end on the new PC set up a mapped drive for ...
0
votes
0
answers
75
views
The INSERT INTO statement contains an unknown field name
I'm using the following code to export information from an excel file to an access database. It worked fine last time I used it but ever since I started it up today I've been running into the ...
-3
votes
1
answer
38
views
store names of tables of a ms access accdb database into array in vb.net
I'm trying to get the names of all tables of ms access database and store in a array. Is there any way to do that? or modification of this, I copied this code so I DONT KNOW WHAT IS IT FOR
con1....
0
votes
1
answer
110
views
count all records in all tables in MS access database in vb.Net
I have a database in MS access and I have 4 tables in it. I want to count all the records of all the tables using vb.Net. Is there any oledbcommand command to count all the records in all the tables ...
0
votes
0
answers
28
views
Custom Filter Button for Some Columns in Access Database
I have a table in Access database. I want to add filter button on a report for only specific columns. Like in a report view, there will be 3 to 4 buttons available on top (for those columns) and when ...
-1
votes
1
answer
53
views
Display only date in datagridview while printing
I'm building an attendance management project in vb.net. It will filter data of students between two dates and show the attendance. I'm using ms access 2007 database. When I display date from my ...
0
votes
0
answers
32
views
Access requires table relink of SQL Server table every time CurrentDB is opened
I have an Access database that uses SQL Server as its backend. One table is the data for a subform which is loaded into a parent form and displayed in the parent forma as a datasheet. The datasheet is ...
1
vote
1
answer
72
views
MS Access Update Unbound Form with Bound Form
I have three forms in a database. Forms A, B, C. The parent form is A and the child form is B at a one to many relationship. As I put information into Form B I would like to click a button on ...
-1
votes
1
answer
44
views
My "App_Code" folder in my web isn't working
Bellow is my code in the App_Code folder Called "MyDB.cs". I have a problem with the MyDB class.
When I try to run the code it just break and tells me I have a problem with the "con....
0
votes
0
answers
29
views
How can I design such a listbox selection?
I would like to design a listbox with multi-selection supported on excel for 21 years, which from 2001 to 2021 could be selected. And this selection should drive access query to calculate data ...
0
votes
0
answers
30
views
Using myreader.read() two times in vb. Net using and condition
I'm working on attendance management project using access database and it stores the name, attendance status, date and course code of a particular day.
I used myreader.read() condition to check if ...
0
votes
1
answer
22
views
msaccess form property 'min max buttons' not working
All my forms are displaying full screen with only a close form button. I have set form properties:
Min Max Buttons = Both Enabled
Control Box = Yes
Border Style = Sizeable
I've tried a DoCmd....
0
votes
1
answer
51
views
How to store sums into MS Access table?
I know how it sounds, you shouldn't store calculated fields into an Access table. However, this is my case:
I have a form where a user inputs bale weights. At the bottom of the form are two fields ...
1
vote
1
answer
49
views
Access number identical fields with decimal number
I have a Table in Access and some field values are identical. If the field values are identical I want to have them numbered with decimal numbers. Is there a way to do this with SQL?
Below is an ...
0
votes
1
answer
46
views
Import MS Access 2019 desktop tables and data into SQL Server 2019 Developer edition
Can anyone please suggest a way to import an MS Access 2019 desktop database (tables and data) into SQL Server 2019 Developer edition to create a new SQL Server database?
I know this question has been ...
0
votes
1
answer
45
views
I'm having issues getting the NZ function working in a query
I'm trying to tie a description to group codes to use in another table. Unfortunately the data is from a very old database and didn't have very good requirements for fields when it was initially ...
1
vote
2
answers
66
views
Why does my vb.net code not change my Access2007 database
I have an Access database2007 and trying to edit the content with the code shown beneath.
The code is running without exceptions, but original data are not changed.
The data base has a primary key (ID)...
0
votes
0
answers
22
views
How to update ms access table using a form with combo box
Looking for assistance. I am sure I have missed something simple.
I have an Access table , [Client] , with the following fields. ClientID (primary key), Description, Contact, email, Cell.
I have a ...
-1
votes
1
answer
27
views
How can I sum a column of $90 then $20 without removing the dollar sign in access query criteria
It gives me error that data type mismatch in criteria expression , but can sum it without removing the dollar sign
0
votes
1
answer
112
views
Is there any way to select all or some row of records and then hit a command button that will effect the row of records the same way?
I have a continuous form that contains a varying number of records. Typically it doesn't exceed 100 but it can. Below is the form showing a few row of records. I was wondering if its possible to ...
1
vote
1
answer
174
views
ms access sql Check if string contains only valid characters
I have a field which should not have any other letters/digits other than B to its right once B occurred.
i.e. valid value : 0000BBBB
Invalid value : 0000BAG0
So far, I have succeeded to substring from ...
0
votes
1
answer
32
views
How to develop an application with ms-access-2016 and make it compatible with previous versions (2007)
Am using MS Access 2016 to develop an application managing images. But some of my users are still using MS Access 2007 on their computers. And the receive the error "unrecognized database format&...
0
votes
1
answer
59
views
How can I call this sub without passing in actual parameters but using the parameters it already has?
Good afternoon everyone! I've been having difficulty being able to call a sub that has 2 parameters whenever an Option Button is updated because every other time I call this sub I pass in the ...
0
votes
0
answers
27
views
How to stop ComboBox on subform from refreshing (requering) in MS Access 2010 and later
On the main form there's a linked subform with combobox on it. The underlying query of the combobox is rather complex and takes a few seconds to complete. In Access 2007 it is run only once when the ...
-1
votes
1
answer
38
views
How to retrieve an autonumber value form MS Access datatable and convert it to int64
I want to retrieve an auto number value from the MS Access data table from column name "id" and convert it to Int64 in C# in asp.net. How can I do it
0
votes
2
answers
342
views
How to get MAX() value and Record Primary Key where the value occurs in a Database?
I have a database with Hours as integer field and PK like record ID/Autonumber in a table to identify records. How can I with an SQL Query get the value max value and the record ID or field value ...
0
votes
0
answers
40
views
display two items data in Ms Chart Control VB.Net
I'm new to MS Chart control. I want to display sql conditional result in chart control. This is my codes
Dim strQry As String = "SELECT format(sDate, 'MMMM-YYYY') AS [Month], iCode as [Item], Sum(...