-
WSsteve_skelton13
AskWoody Loungerlooking into this, thought i’d swing by the lounge…
in SQL Server, you often do things like If Exists
Drop Tableas a standard check prior to trying to create the object. In Access, I have tabledef code in place and I want to do the same check to make sure I never try to create a table def if the linked table already exits.
So, looking for the syntax…
TIA!
-
WSsteve_skelton13
AskWoody Loungerlooking into this, thought i’d swing by the lounge…
in SQL Server, you often do things like If Exists
Drop Tableas a standard check prior to trying to create the object. In Access, I have tabledef code in place and I want to do the same check to make sure I never try to create a table def if the linked table already exits.
So, looking for the syntax…
TIA!
-
WSsteve_skelton13
AskWoody Loungerlooking into this, thought i’d swing by the lounge…
in SQL Server, you often do things like If Exists
Drop Tableas a standard check prior to trying to create the object. In Access, I have tabledef code in place and I want to do the same check to make sure I never try to create a table def if the linked table already exits.
So, looking for the syntax…
TIA!
-
WSsteve_skelton13
AskWoody Loungerlooking into this, thought i’d swing by the lounge…
in SQL Server, you often do things like If Exists
Drop Tableas a standard check prior to trying to create the object. In Access, I have tabledef code in place and I want to do the same check to make sure I never try to create a table def if the linked table already exits.
So, looking for the syntax…
TIA!
-
WSsteve_skelton13
AskWoody Loungerlooking into this, thought i’d swing by the lounge…
in SQL Server, you often do things like If Exists
Drop Tableas a standard check prior to trying to create the object. In Access, I have tabledef code in place and I want to do the same check to make sure I never try to create a table def if the linked table already exits.
So, looking for the syntax…
TIA!
-
WSsteve_skelton13
AskWoody Loungerlooking into this, thought i’d swing by the lounge…
in SQL Server, you often do things like If Exists
Drop Tableas a standard check prior to trying to create the object. In Access, I have tabledef code in place and I want to do the same check to make sure I never try to create a table def if the linked table already exits.
So, looking for the syntax…
TIA!
-
WSsteve_skelton13
AskWoody Loungerlooking into this, thought i’d swing by the lounge…
in SQL Server, you often do things like If Exists
Drop Tableas a standard check prior to trying to create the object. In Access, I have tabledef code in place and I want to do the same check to make sure I never try to create a table def if the linked table already exits.
So, looking for the syntax…
TIA!
-
WSsteve_skelton13
AskWoody LoungerYes, it’s clear now what you meant. I gather that I would use header() to perform the actual load of the new page.
This is a useful technique, and I thank you for it. If I had had it when I started this thread, though, I probably would still have chosen the kludge I used. The problem is that sessions, as I understand it, require the use of cookies, and this site site was designed to work without cookies. The client understands that virtually all web commerce sites use cookies these days, but nevertheless believes that they would pose technical problems and/or drive away some potential customers. Researching and evaluating that issue is way beyond what I’ve been asked to do, and it wouldn’t make sense for a site that is just being patched up to work until it can be replaced.
I’m still puzzled that this apparently simple requirement has opened such a can of worms, but I’m ready to move on.
At this point I’m much more concerned about the problem in the other thread I started, concerning magic quotes. If you could take a look at that one and make suggestions, I’d be grateful.
can you not send the submitted data to a processing page that takes the data and, using a simple Select Case routine, transfers the user to Form A or B, depending? I do this all the time. the user doesn’t know they passed thru the processing page; you can preserve form field across multiple pages several ways without resorting to cookies. I don’t know what technology you are using, so there’s some differences in syntax depending.
-
WSsteve_skelton13
AskWoody Loungerthanks – tried it out. seems to work!
-
WSsteve_skelton13
AskWoody LoungerWell, what i have is an unbound Textbox on the report with the control source set to =”Printed on: ” & Now(), which reflect the time the report was opened. what i was looking for is some event called ‘OnPrint’. if it doesn’t exist, fair enough, just will have to advise the time stamp is the time the report is opened, not printed.
-
WSsteve_skelton13
AskWoody LoungerAlso see Allen Browne – Creating an Audit Log.
interesting article on audit logging. not sure if i’ll use it but nice to know about the option.
-
WSsteve_skelton13
AskWoody LoungerThanks – I’ll think about doing the time stamp column. what i want is a quick way to automatically flag all rows where some changes was made.
-
WSsteve_skelton13
AskWoody LoungerCan you clarify what the problem was here?
Was it that you wanted some controls to have both “UE” and “OR” in their Tag, so they belonged to both groups?
In that case, yes you would need to use:Code:If (InStr(1, .Tag, "OR") > 0) Then
rather than
Code:If .Tag = "OR" Then
I often use code like this (looping through controls checking for something in their Tag property), so I am just wondering if there is some pitfall here I was not aware of.
I have a set of controls that are “OR” and another set that are “UE”. there’s no overlap. some other controls have no tag at all, and the first code block (which polls based on Tag info) does, correctly, ignore controls with no tag data. it’s just that if i try to poll UE controls using the Tag technique it mysteriously fails. since i have prepends on those controls, i can still pick them up in a loop but it’s a weird thing to have to do…
-
WSsteve_skelton13
AskWoody LoungerProblem mostly solved. I dynamically link the SQL Server table in and run UPDATE with the Access query providing the set of records to update. Much like Francois’s code. The issue was trying to combine data from SQL Server and Access in one command.
-
WSsteve_skelton13
AskWoody LoungerAre you sure about the query names ?
In your first post you mention qryOrigRUGItems and now qryEditRUGitemsyes I’m sure. the correct query is the edit one. What i think i need to do is, dynamically link the table in question into Access rather than do something fancy like run UPDATE directly out of Access into SQL Server.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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
-
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
1 hour, 48 minutes ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
7 hours, 49 minutes ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
18 hours, 9 minutes ago -
Office apps read-only for family members
by
b
20 hours, 45 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
17 hours, 37 minutes ago -
24H2??
by
CWBillow
7 hours, 49 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
2 hours, 3 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
2 hours, 16 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
5 minutes ago -
two pages side by side land scape
by
marc
2 days, 18 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 20 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 23 hours ago -
Security Essentials or Defender?
by
MalcolmP
2 days, 2 hours ago -
April 2025 updates out
by
Susan Bradley
2 hours, 27 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 19 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
1 day, 9 hours ago -
Creating an Index in Word 365
by
CWBillow
2 days, 12 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
1 day ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days, 15 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 19 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 20 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 18 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
3 days, 12 hours ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 18 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
4 days ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
30 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
4 days, 8 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 16 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 17 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
5 days, 1 hour 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.