Access World Forums Microsoft Access discussion forum Tue, 11 May 2021 16:33:07 +0000 Tue, 11 May 2021 16:33:07 +0000 Access World Forums Rookie Mistake that cost me about 2 days work to fix. Learn from my pain. Tue, 11 May 2021 16:31:53 +0000 (Umpire) Umpire Just want to pass along this incase any other newbie is reading this.

I started out making my database and I really did not pay enough attention to my Table and Field names. (Or queries or reports either.) I read things that said do this or do that. And at one point I started doing things the right way.

Lots of places tell you that you should name things this way or that way. But they fail to explain what happens if you don't.

I was trying to work with a couple forms and Text Strings and...

call subform validation from main form Tue, 11 May 2021 16:27:36 +0000 (kobiashi) kobiashi hi

i have a piece of code that carrys out some form validation, see below

'form Validation

Function CheckForEmpty() As Boolean

    CheckForEmpty = True
    Dim ctrl As Control
    For Each ctrl In Me.Controls
        If ctrl.Tag = "FILL" Then
            If IsNull(ctrl) Or Len(ctrl) = 0 Then
                ctrl.BackColor = RGB(250, 240, 10)
                CheckForEmpty = False
            End If
        End If
End Function...

Post Covid Economy, Taxes & Inflation Tue, 11 May 2021 16:20:20 +0000 (Steve R.) Steve R.
BREAKING NEWS.... Channel 5 in Los Angeles just announced inflation is on the way and business will likely pass the higher costs onto the consumers. Lol, ya think? When the government offers you $1.400 of your own money but you have to pay back $5.600 watch out.

As my wife always says "the only free cheese is in the mousetrap"
A very good question. I'm finding the economic news to be baffling, in the context of it being...

Starting Again - Table Relationships. Tue, 11 May 2021 16:15:21 +0000 (Tieval) Tieval Hi,
Been away from access for a couple of years and have a new project, I am after a little help bump starting my brain.

I have the part numbers for all parts on a range of motorcycles and am looking for a simple example set-up to start from. I have seven types of motorcycle and thousands of parts which need to be applied to one or more of the different types. The idea is to enter a part and all it's details and reference it to all the types of motorcycle it fitted. For example I want to...

Using >= in cell as part of formula Tue, 11 May 2021 16:15:17 +0000 (KenHigg) KenHigg Hi all, long time since I've been here.
Anyway, I have a countif() where the if refs a cell that contains <=250. It all works but now I would like to make the 250 dynamic, like maybe it comes from a slider bar, etc. Any suggestions?
Here is the countif(): '=COUNTIFS($B$18:$B$3007,$K$2,$C$18:$C$3007,$L2)'. L2 is contains the '<=250'.
Linking form table and subform table from imported excel spreadsheet data Tue, 11 May 2021 15:58:03 +0000 (rexcision) rexcision I have two separate excel spreadsheets. One contains some overview information about a project, whereas the other excel spreadsheet has project specific details that extend multiple rows. Each row in this specific info spreadsheet has an alpha-numeric identifier that can be used to link it to one of the rows in the overview excel spreadsheet.

My goal is to have a button that the user can push to import these two files, and the information gets append onto existing tables. So far I have it...

How to Give more than one Not Equals to Operator in a Report? Tue, 11 May 2021 15:53:02 +0000 (JithuAccess) JithuAccess Hello Guys,

I want to find the Sum of the Payment if the Program is Not Equals to "M" Or "H" and I have given this Code

=Nz(DSum("[curTotal Paid]","[tblPayments Final]","strProgram<>'M' Or 'H'),0)

But I am getting an Incorrect Result.

I think the Logic is wrong.

Could you guys please help me how to fix this?

DCount problem, count including blank Tue, 11 May 2021 15:46:56 +0000 (Zc kaiva) Zc kaiva Hi all, i want to count all records inside AmBus column inside query qryBusCountName excluding blanks (" " )
But DCount is counting blank fields as well.


How can i exlcude blanks in my count?]]>
NASA Study Indicates Antarctica is Gaining More Ice Than It's Losing - Tue, 11 May 2021 15:35:16 +0000 (Rx_) Rx_

A new study released by NASA reveals that Antarctica is currently gaining more ice than it's losing, disputing other studies that say the continent is overall losing land ice.
The gain in ice is attributed to an increase in...

WiFi or Wired? Tue, 11 May 2021 15:33:56 +0000 (Gaztech) Gaztech Hi guys,

I have a situation at work whereby I have an Access stock database that has multiple access for 5 users.

The way it is set up with a split database works just fine with no hiccups. However, we have a problem with our laptop users.

Basically, they are too lazy to connect to our system using the ethernet cable on the desk and often only connect via WiFi. I do NOT want them to do this if they are going to use the database. No matter how many times I tell them NOT to use it on WiFi...

Which Sports do you like the most? Tue, 11 May 2021 15:32:45 +0000 (runikim025) runikim025 List Of Sports
  • soccer
  • basketball
  • tennis
  • baseball
  • golf
  • running
  • volleyball
  • badminton
These are the games which is most played and like in the world. Many people play different games. I like to play Golf with women putters. Sometimes, I play with my friends baseball and badminton.]]>
Settings/Code to prevent duplicate record Tue, 11 May 2021 15:12:53 +0000 (Golo) Golo Hi everyone! I am a newbie and I have a silly question here. Hope you could help me to solve it!

I have a table with 3 fields: Customer ID (Primary Key and Autonumber), Customer Name and Customer DOB. Now I want to prevent my users from entering the same customer. For example, there are 2 customers named John with different DOBs. If there has already been a record of the first John, I'd like to let my users enter the second John as long as they enter a different DOB and I'd like a message...

Transferring Access Data File to Sharepoint ?? Tue, 11 May 2021 14:37:44 +0000 (AndyWilcock) AndyWilcock How do I link Access to Sharepoint?
I have my database - I have a "SharePoint Group"

But access is asking for a Sharepoint Site ?? - What is it wanting?
How do I get the Data-file on to Sharepoint? - Where do I put it?

How do I link Access on the different desktops to the file on Sharepoint?

Any help would be greatly appreciated? What security issues do I have to overcome at each end?

Thank you to anyone who can help

Andy Wilcock]]>
Display text field on Main Form after text entered on SubForm Tue, 11 May 2021 14:26:21 +0000 (Mick3911) Mick3911 I have a main form ‘frmUpdateTraining’ and a sub form ‘subfrmTrainingTimes’ which is a continuous form.

On the main form there are (amongst others) 2 fields ‘DateCompleted’ and ‘TrainedBy’

On the sub form there a 3 text fields ‘TrainingDate’, ‘StartTime’ and ‘EndTime’.

When a user enters a time in the ‘StartTime’ text field, I would like the text fields ‘DateCompleted’ and ‘TrainedBy’ on the main form to either become visible or enabled.

The code that I have used is in the...

Print Button Tue, 11 May 2021 12:52:19 +0000 (Gismo) Gismo Hi All,

I have a few print buttons for a few reports on a print menu

When the user clicks on print, instead of directly printing the report, i want the printer options screen to open first and then the user can select ok to print

Please could you advise if possible

execution of this application has stopped due to a run-time error Tue, 11 May 2021 12:50:25 +0000 (Gismo) Gismo Hi All,

Most of our users now have to use Access runtime instead of the full Office package

When the users open the DB, they get a " execution of this application has stopped due to a run-time error"

I have narrowed it down and comes from the code below

Any suggestion on how to remedy this please
Option Compare...

Connecting MS Access with SQL Server Tue, 11 May 2021 12:27:45 +0000 (Golo) Golo Hi guys, I am newbie who are extremely low-tech.

I am currently building up a MS Access database with Tables, Forms, Queries, Reports for a team of around 6-8 people. We are working in a new office with no shared networks, no Microsoft Office Enterprise yet. Each of us is using our own individual MS Office. Now that I want to create this database and will split BE and FE so that all of us can work simultaneously. Could you please correct me if I am wrong, I now understand that I need to...

Default value Date() Tue, 11 May 2021 11:54:01 +0000 (Lasses) Lasses I apologize for my poor English (Swedish)
I want to record the date and time when an post is created in a table.
If I enter Default value, in the table, the time is registered on the next new post.
How do I get the time registered on the post I create?]]>
Set the position of an API Color Chooser Tue, 11 May 2021 11:39:12 +0000 (G37Sam) G37Sam Hello fella's,

Is there a way to set/alter the position (center screen?) of an API Color Chooser dialog upon its creation?

It keeps popping up on the upper left corner of my screen which I can't stand.

Below is the code in the module

Option Compare Database
'This code was originally written by Terry Kreft,
'and modified by Stephen Lebans
'It is not to be altered or distributed,
'except as part of an application.
'You are free to use it in any application,
'provided the...

how to convert 0.475 to minutes as 28 mnts. Tue, 11 May 2021 10:35:52 +0000 (sreedhar) sreedhar how to convert 0.475 to minutes as 28 mnts.]]> 5