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 http://www.jaredrooks.com/forums/ Rookie Mistake that cost me about 2 days work to fix. Learn from my pain. Tue, 11 May 2021 16:31:53 +0000 http://www.jaredrooks.com/forums/threads/rookie-mistake-that-cost-me-about-2-days-work-to-fix-learn-from-my-pain.317734/ http://www.jaredrooks.com/forums/threads/rookie-mistake-that-cost-me-about-2-days-work-to-fix-learn-from-my-pain.317734/ invalid@example.com (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...

Read more]]>
13
call subform validation from main form Tue, 11 May 2021 16:27:36 +0000 http://www.jaredrooks.com/forums/threads/call-subform-validation-from-main-form.317713/ http://www.jaredrooks.com/forums/threads/call-subform-validation-from-main-form.317713/ invalid@example.com (kobiashi) kobiashi hi

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

Code:
'form Validation


Function CheckForEmpty() As Boolean


    CheckForEmpty = True
    ClearControlFormatting
   
    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
    Next
           
End Function...

Read more]]>
10
Post Covid Economy, Taxes & Inflation Tue, 11 May 2021 16:20:20 +0000 http://www.jaredrooks.com/forums/threads/post-covid-economy-taxes-inflation.317498/ http://www.jaredrooks.com/forums/threads/post-covid-economy-taxes-inflation.317498/ invalid@example.com (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" ouch.ly
A very good question. I'm finding the economic news to be baffling, in the context of it being...

Read more]]>
25
Starting Again - Table Relationships. Tue, 11 May 2021 16:15:21 +0000 http://www.jaredrooks.com/forums/threads/starting-again-table-relationships.317739/ http://www.jaredrooks.com/forums/threads/starting-again-table-relationships.317739/ invalid@example.com (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...

Read more]]>
8
Using >= in cell as part of formula Tue, 11 May 2021 16:15:17 +0000 http://www.jaredrooks.com/forums/threads/using-in-cell-as-part-of-formula.317744/ http://www.jaredrooks.com/forums/threads/using-in-cell-as-part-of-formula.317744/ invalid@example.com (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'.
Thanks
Ken]]>
2
Linking form table and subform table from imported excel spreadsheet data Tue, 11 May 2021 15:58:03 +0000 http://www.jaredrooks.com/forums/threads/linking-form-table-and-subform-table-from-imported-excel-spreadsheet-data.317718/ http://www.jaredrooks.com/forums/threads/linking-form-table-and-subform-table-from-imported-excel-spreadsheet-data.317718/ invalid@example.com (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...

Read more]]>
5
How to Give more than one Not Equals to Operator in a Report? Tue, 11 May 2021 15:53:02 +0000 http://www.jaredrooks.com/forums/threads/how-to-give-more-than-one-not-equals-to-operator-in-a-report.317743/ http://www.jaredrooks.com/forums/threads/how-to-give-more-than-one-not-equals-to-operator-in-a-report.317743/ invalid@example.com (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

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?

Thanks]]>
3
DCount problem, count including blank Tue, 11 May 2021 15:46:56 +0000 http://www.jaredrooks.com/forums/threads/dcount-problem-count-including-blank.317736/ http://www.jaredrooks.com/forums/threads/dcount-problem-count-including-blank.317736/ invalid@example.com (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.

=Nz(DCount("[AmBus]","[qryBusCountName]"),0)

How can i exlcude blanks in my count?]]>
8
NASA Study Indicates Antarctica is Gaining More Ice Than It's Losing - Tue, 11 May 2021 15:35:16 +0000 http://www.jaredrooks.com/forums/threads/nasa-study-indicates-antarctica-is-gaining-more-ice-than-its-losing.282773/ http://www.jaredrooks.com/forums/threads/nasa-study-indicates-antarctica-is-gaining-more-ice-than-its-losing.282773/ invalid@example.com (Rx_) Rx_ http://www.accuweather.com/en/weath...gaining-more-ice-than-losing-climate/53533246

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...

Read more]]>
772
WiFi or Wired? Tue, 11 May 2021 15:33:56 +0000 http://www.jaredrooks.com/forums/threads/wifi-or-wired.317722/ http://www.jaredrooks.com/forums/threads/wifi-or-wired.317722/ invalid@example.com (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...

Read more]]>
13
Which Sports do you like the most? Tue, 11 May 2021 15:32:45 +0000 http://www.jaredrooks.com/forums/threads/which-sports-do-you-like-the-most.317668/ http://www.jaredrooks.com/forums/threads/which-sports-do-you-like-the-most.317668/ invalid@example.com (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.]]>
22
Settings/Code to prevent duplicate record Tue, 11 May 2021 15:12:53 +0000 http://www.jaredrooks.com/forums/threads/settings-code-to-prevent-duplicate-record.317741/ http://www.jaredrooks.com/forums/threads/settings-code-to-prevent-duplicate-record.317741/ invalid@example.com (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...

Read more]]>
4
Transferring Access Data File to Sharepoint ?? Tue, 11 May 2021 14:37:44 +0000 http://www.jaredrooks.com/forums/threads/transferring-access-data-file-to-sharepoint.317742/ http://www.jaredrooks.com/forums/threads/transferring-access-data-file-to-sharepoint.317742/ invalid@example.com (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]]>
2
Display text field on Main Form after text entered on SubForm Tue, 11 May 2021 14:26:21 +0000 http://www.jaredrooks.com/forums/threads/display-text-field-on-main-form-after-text-entered-on-subform.317729/ http://www.jaredrooks.com/forums/threads/display-text-field-on-main-form-after-text-entered-on-subform.317729/ invalid@example.com (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...

Read more]]>
13
Print Button Tue, 11 May 2021 12:52:19 +0000 http://www.jaredrooks.com/forums/threads/print-button.317738/ http://www.jaredrooks.com/forums/threads/print-button.317738/ invalid@example.com (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

1620720856311.png
]]>
5
execution of this application has stopped due to a run-time error Tue, 11 May 2021 12:50:25 +0000 http://www.jaredrooks.com/forums/threads/execution-of-this-application-has-stopped-due-to-a-run-time-error.317547/ http://www.jaredrooks.com/forums/threads/execution-of-this-application-has-stopped-due-to-a-run-time-error.317547/ invalid@example.com (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...

Read more]]>
80
Connecting MS Access with SQL Server Tue, 11 May 2021 12:27:45 +0000 http://www.jaredrooks.com/forums/threads/connecting-ms-access-with-sql-server.317701/ http://www.jaredrooks.com/forums/threads/connecting-ms-access-with-sql-server.317701/ invalid@example.com (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...

Read more]]>
3
Default value Date() Tue, 11 May 2021 11:54:01 +0000 http://www.jaredrooks.com/forums/threads/default-value-date.317740/ http://www.jaredrooks.com/forums/threads/default-value-date.317740/ invalid@example.com (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?]]>
2
Set the position of an API Color Chooser Tue, 11 May 2021 11:39:12 +0000 http://www.jaredrooks.com/forums/threads/set-the-position-of-an-api-color-chooser.222137/ http://www.jaredrooks.com/forums/threads/set-the-position-of-an-api-color-chooser.222137/ invalid@example.com (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

Code:
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...

Read more]]>
18
how to convert 0.475 to minutes as 28 mnts. Tue, 11 May 2021 10:35:52 +0000 http://www.jaredrooks.com/forums/threads/how-to-convert-0-475-to-minutes-as-28-mnts.317737/ http://www.jaredrooks.com/forums/threads/how-to-convert-0-475-to-minutes-as-28-mnts.317737/ invalid@example.com (sreedhar) sreedhar how to convert 0.475 to minutes as 28 mnts.]]> 5
日韩精品亚洲专区在线影院