-
WSjaal
AskWoody LoungerThe main reason that I have the % Fields on the form is so fellow associates may see how they are doing at the point of data entry. The reason for the %Fields in the table is so whenever a fellow associate wants to look at a particular item, they may just pull the data and not have to know the formulation or calculations needed for the %Fields. I am trying to keep it as simple as I can being not everyone will have had any kind of Access training.
-
WSjaal
AskWoody LoungerI believe I may have gotten the problem somewhat solved.
Here a sample copy of the SQL statement:
“SELECT tblFinish.tmStart, tblFinish.tmFinish, tblFinish.Coat, IIF([tmStart]<[tmFinish],24-[tmStart+[tmFinish],[tmStart]-[tmFinish]) AS [tmCoat]
FROM tblFinish;"I build some expressions in the query design and for the most part it is working. I am getting numbers now in the query that I built, also the fields and the tables. Yet if I run a new query using the Simple Query Wizard, I still get 0's as results????? Thanks to all..
-
WSjaal
AskWoody LoungerYes, I have been using the “Simple Query Wizard”, exactly as shown. Am I not developing it far enough? The most I can zip my database is 558k, so I may need to make some changes.. thanks..
-
WSjaal
AskWoody LoungerI will have to wait till I get to work before I can possibly send the database. In the table, the columns with these field names do have the correct results, as do the fields in the form. If I run the query as shown -(using the Query Wizard) I see only zero’s in these fields which have something similar ” =((field1-field2)/field1))”. Thanks in advance again and I do appreciate all your patience with me. I am learning this as I go along.
-
WSjaal
AskWoody LoungerSorry for the delay, but I have been out of town on business.
Here is the SQL view :
“SELECT tblSoursSanding.Time, tblSoursSanding.wtSanded, tblSoursSanding.wtCitricBefore, tblSoursSanding.wtCitricAfter, tblSoursSanding.wtCitricDelivered, tblSoursSanding.wtSugarBefore, tblSoursSanding.wtSugarAfter, tblSoursSanding.wtSugarDelivered, tblSoursSanding.PerfCitric, tblSoursSanding.PerfSugar
FROM tblSoursSanding; “.I added the quotation marks. I hope this will help. Thanks again.
-
WSjaal
AskWoody LoungerIn the SQL view – the statement has “SELECT tblWeights.field, tblWeights.field2….From tblWeights. They appear to be the correct fields from the correct table. I setup the query using the simple query wizard, selecting the desired fields. What should you recommend next?
-
WSjaal
AskWoody LoungerHans, Thank you very much! -Sir, it worked like a charm. Compared to what I was told by another associate, yours was short, simple and it works.
-
WSjaal
AskWoody LoungerPrivate Sub Slurry_Weight_AfterUpdate()
Dim lngRed AS Long, lngWhite As Long
Dim pct_slurry As StringMe.Slurry.Enabled = True
Me.Slurry.SetFocus
pct_slurry=Me.Slurry.Text
Me.Slurry_Weight.SetFocus
Me.Slurry.Enabled=FalselngRed= RGB(255, 0 ,00
lngWhite=RGB(255, 255, 255)
If CSng(Left$(pct_slurry, Len(pct_slurry) – 1)) < 12 then (this is where the error is.)
Me.Slurry.ForeColor = lngRedI did not include all the script, but hopefully this helps. Thanks in advance.
-
WSjaal
AskWoody LoungerThanks everyone for your help, I wish I had of thought of using this before.
The setfocus worked great for moving the cursor up to the desired field. Thanks….. I had previously tried the tab order but the cursor would stay on the “Add Record” button.
I was also able to get the data to change text as desired using code, but now I keep getting -” Run-time Error “13” – Type Mismatch”. I am looking at one field and upon it’s change, calculating to a “%” in another field. Is this my problem? -
WSjaal
AskWoody LoungerJohn,
Thank you for such a speedy reply. I won’t get a chance to try it till Wednesday at work, I appreciate it very much, I have been struggling with for a couple of days now.
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Asking Again here (New User and Fast change only backups)
by
thymej
5 hours, 3 minutes ago -
How much I spent on the Mac mini
by
Will Fastie
27 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
5 hours, 2 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
10 hours, 55 minutes ago -
Setting up Windows 11
by
Susan Bradley
26 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
6 hours, 23 minutes ago -
Powershell version?
by
CWBillow
7 hours, 16 minutes ago -
SendTom Toys
by
CWBillow
1 hour, 56 minutes ago -
Add shortcut to taskbar?
by
CWBillow
11 hours, 11 minutes ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
1 day, 3 hours ago -
How can I install Skype on Windows 7?
by
Help
1 day, 2 hours ago -
Logitech MK850 Keyboard issues
by
Rush2112
9 hours, 11 minutes ago -
We live in a simulation
by
Alex5723
1 day, 17 hours ago -
Netplwiz not working
by
RetiredGeek
1 day, 4 hours ago -
Windows 11 24H2 is broadly available
by
Alex5723
2 days, 6 hours ago -
Microsoft is killing Authenticator
by
Alex5723
17 hours, 45 minutes ago -
Downloads folder location
by
CWBillow
2 days, 12 hours ago -
Remove a User from Login screen
by
CWBillow
1 day, 8 hours ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
2 days, 3 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
2 days, 3 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
5 hours, 50 minutes ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
2 days, 2 hours ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
1 day, 2 hours ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
2 days, 16 hours ago -
Multiple Partitions?
by
CWBillow
2 days, 17 hours ago -
World Passkey Day 2025
by
Alex5723
13 hours, 22 minutes ago -
Add serial device in Windows 11
by
Theodore Dawson
4 days, 1 hour ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
2 days, 2 hours ago -
Cached credentials is not a new bug
by
Susan Bradley
4 days, 6 hours ago -
Win11 24H2 Slow!
by
Bob Bible
6 hours, 25 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.