-
WSzymurgy
AskWoody LoungerI believe that it has to do with the Size, Precicision, and Scale of the data fields.
In one of my Access 97 apps SQL numeric fields with 5(5,0) are shown as Number, Long Integers in Access.
Numeric fields with 13(22,6) and 13(20,0) are shown as Text in Access.I can think of three ways to solve the problem:
(1) Modify the SQL tables to a lesser scale and precision
(2) Use the conversion functions (CDbl, CInt, CLng, etc.) to change the data type in queries, reports, etc.
(3) Updgrade to Access 2000, which doesn’t seem to have this problem. -
WSzymurgy
AskWoody Lounger -
WSzymurgy
AskWoody LoungerI used the following books when setting up a web based Access database.
Beginning ASP Databases by John Kauffman (ISBN: 1-861002-72-6)
Teach Yourself Active Server Pages 3.0 in 21 Days by Scott Mitchell and James Atkinson (ISBN: 0-672-31863-6)
FrontPage 2000 Developer’s Guide by Mike Jennett (ISBN: 0-07-211972-1)
-
WSzymurgy
AskWoody LoungerNovember 27, 2002 at 9:31 pm in reply to: Using Access to create reports on a SQL database (Access 2002) #635031I link to the SQL tables using the ODBC connection.
Once the tables are linked, I create queries and reports as you normally would in Access.
My clients are only interested in reporting information that is stored in SQL, so this solution works fine.
-
WSzymurgy
AskWoody Lounger -
WSzymurgy
AskWoody Lounger -
WSzymurgy
AskWoody LoungerThe help is working now.
Thanks.
-
WSzymurgy
AskWoody LoungerOctober 18, 2002 at 6:40 pm in reply to: How do I Test for Existing Date? (A2k (9.0.3821) SR-1) #625124If you are checking a Date field, I believe that you have to enclose your the date in the number sign, #.
If Not IsNull(DLookup(“dteSumDate”, “tblSumServe”, “dteSumDate= #” & Me!BatchDate & “#”)) Then
-
WSzymurgy
AskWoody LoungerThanks.
Since this situation will not occur on a regular basis, I went with creating two connections.
It worked perfectly.
-
WSzymurgy
AskWoody LoungerChanging the Allow Zero Length Strings setting to True seems to have corrected my updating problems.
Thanks,
-
WSzymurgy
AskWoody LoungerI ‘think’ that I’ve narrowed the problem down to Null values on the input form.
Although many of the database fields are not required, if I leave some of them blank on the form, the record isn’t updated. However, if I enter something into each field, I can update the record.
Does this make sense?
The current design of the database does not allow Zero Length Strings. Should I change this field setting?
-
WSzymurgy
AskWoody LoungerThe script worked.
However, I had to remove all of the ‘comments’ relating to the FrontPage bots that were generated by FrontPage validation.
It appears that FrontPage generates the Javascript validation script on the fly, thereby erasing the code I entered.
-
WSzymurgy
AskWoody LoungerI use VBScript with ASP to block private pages from public viewing.
When a member logins in, the following session variable is set as part of the login routine.
Session(“vIDOK”)=TrueI put the following code at the top of each private page:
Anyone not logged in that attempts to load the page is re-directed to the login page.
-
WSzymurgy
AskWoody LoungerDoes Javascript have a limit to the number of nested IFs? (I think Excel has a limit of 7.)
Besides validating each input as the user enters data, I want the submit button to perform a final validation before submitting the form.
I saw an example in a Javascript book for testing 3 input fields. Adapting the example to my form with fourteen input fields would generate code similar to the following:
function CheckAll(form)
{
if (IsAlpha(form.FirstName,True)){
(IsAlpha(form.MiddleInitial,False)){
(IsAlpha(form.LastName,True)){
(IsEmailValid(form.EmailAddress,False)){
(IsYear(form.JoinedYear)){
(IsAlpha(form.WorkCity,False)){
(IsState(form.WorkState,False)){
(IsZip(form.WorkPostalCode,False)){
(IsPhone(form.WorkPhone,False)){
(IsPhone(form.WorkFaxNumber,False)){
(IsAlpha(form.HomeCity,False)){
(IsState(form.HomeState,False)){
(IsZip(form.HomePostalCode,False)){
(IsPhone(form.HomePhone,False)){
return true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return false;
}NOTE: the True or False indicates to the validating function whether the field is required.
Is there any easier way to accomplish this?
The attachment has some of the actual validation routines.
-
WSzymurgy
AskWoody Lounger(Edited by Leif to make link live – see the quick guide)
I’ve used Snitz Forum – http://forum.snitz.com[/url%5D.
This is an MS Access/ASP solution.
It’s been running since last October without a problem and works a lot better than using a FrontPage discussion web.
If you want to see a live example, go to:
http://www.mountainnature.com/forum/default.asp%5B/url%5D
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
April 2025 Office non-Security updates
by
PKCano
42 minutes ago -
Microsoft wants to hear from you
by
Will Fastie
1 hour, 53 minutes ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
4 hours, 14 minutes ago -
Europe Seeks Alternatives to U.S. Cloud Providers
by
Alex5723
9 hours, 45 minutes ago -
Test post
by
Susan Bradley
11 hours, 59 minutes ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
13 hours, 40 minutes ago -
SSD shuts down on its own
by
CWBillow
5 hours, 4 minutes ago -
OneDrive File Sharing Changes
by
David Clark
21 hours, 44 minutes ago -
OneDrive File Sharing Changes
by
David Clark
23 hours, 47 minutes ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
11 minutes ago -
Today is world backup day
by
Alex5723
15 hours, 24 minutes ago -
Windows .exe on Mint
by
Slowpoke47
1 day, 1 hour ago -
Reviewing your licensing options
by
Susan Bradley
11 hours, 5 minutes ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
26 minutes ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
4 hours, 25 minutes ago -
Making sense of Settings in Windows 11
by
Simon Bisson
11 hours, 38 minutes ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
21 hours, 37 minutes ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
19 hours, 24 minutes ago -
YouTube Ad Blocker Blocker
by
bbearren
19 hours, 35 minutes ago -
Obscure historical facts about Windows
by
Cybertooth
21 hours, 12 minutes ago -
Microsoft Backup
by
Linda2019
12 hours, 57 minutes ago -
What is the best notepad++ version for W7?
by
Picky
20 hours, 27 minutes ago -
What are right steps to move MS 365 Office+OneDrive files from PC to iMac?
by
glnz
2 days, 6 hours ago -
How to move existing MS 365 Office with OneDrive files from PC to new iMac
by
glnz
2 days, 6 hours ago -
How to move MS 365 files (some on OneDrive) from PC to iMac
by
glnz
3 days ago -
Microsoft adding Quick Machine Recovery to Windows 11
by
Alex5723
3 days, 1 hour ago -
Microsoft vs Passwords
by
Alex5723
8 hours, 50 minutes ago -
Windows 11 Insider Preview build 26200.5516 released to DEV
by
joep517
3 days, 5 hours ago -
Windows 11 Insider Preview build 26120.3653 (24H2) released to BETA
by
joep517
3 days, 5 hours ago -
Two March KB5053606 updates?
by
Adam
2 days, 22 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
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.