-
WSroberta
AskWoody LoungerJune 13, 2005 at 11:30 am in reply to: Not displaying whole hyperlink in report field (2000 (in 2003)) #953246the control source is the field from the query my report is based upon. The query uses the table field (doc Name) which is a hyperlink field. So viewed in a table or form it says e.g.”April Document List” (naturally in blue and underlined) – but for some reason in a report it picks up the hyperlink file name as well?
-
WSroberta
AskWoody LoungerTalk about wood and trees – I was lost in a veritable forest!!!! I had a unique ref on the form – but I just got obsessed with linking the person and the document with the progress report.
Many many thanks – I shall be able to get some sleep before work tomorrow!!!!
Regards
Roberta -
WSroberta
AskWoody Loungerthanks to both of you, – I tend to fight shy of DOS options – coward that I am!! I went down the software route and the recommended program was absolutely superb – has solved the problem.
Regards
Roberta
-
WSroberta
AskWoody LoungerI’m obliged. Thank you.
Roberta
-
WSroberta
AskWoody LoungerYes there are three tables one which lists the project details, one which lists the possible locations (all 64 of them!!) and a third table — which has the project number and the location (being joint primary keys as each project can only be in one location!.
The third table is the one which is updated by the option selection.
However, if the 64 after update entries will work – then I am happy to go with this (anything to get this finished!!!!!!)
Cheers
Roberta
-
WSroberta
AskWoody LoungerThe code I have used is some that you very kindly provided for me
Private Sub Form_Current()
If Me.NewRecord = False Then
Me.Opt1 = DCount(“*”, “destination table”, “[pdf]= ” & Me.PDFRef & ” and [Location] = ‘Business Site'”) = 1
Me.Opt2 = DCount(“*”, “destination table”, “[pdf]= ” & Me.PDFRef & ” and [Location] = ‘Customer Site'”) = 1
End If
End SubPrivate Sub Opt1_AfterUpdate()
Dim strSQL As String
DoCmd.SetWarnings False
If Me.Opt1 = True Then
strSQL = “INSERT INTO [Destination Table] ( PDF, Location ) Values (” & Me.PDFRef & “,’Customer Site’)”
Else
strSQL = “DELETE ‘*’FROM [Destination Table] WHERE [Destination Table].PDF = ” & Me.PDFRef & _
” AND [Location] = ‘Customer Site'”
End If
DoCmd.RunSQL strSQL
DoCmd.SetWarnings True
End SubPrivate Sub Opt2_AfterUpdate()
Dim strSQL As String
DoCmd.SetWarnings False
If Me.Opt2 = True Then
strSQL = “INSERT INTO [Destination Table] ( PDF, Location ) Values (” & Me.PDFRef & “,’Business Site’)”
Else
strSQL = “DELETE ‘*’FROM [Destination Table] WHERE [Destination Table].PDF = ” & Me.PDFRef & _
” AND [Location] = ‘Business Site'”
End If
DoCmd.RunSQL strSQL
DoCmd.SetWarnings True
End SubWhich I have to tell you works absolutely brilliantly – just not when they want to be able to update all or clear all!!
Roberta
-
WSroberta
AskWoody LoungerThanks for this – and for showing me how to edit my post (much appreciated).
However, though the code above will beautifully select or deselect the Option Buttons – unfortuantely it does not up date the table which is triggered by the AfterUpdate event of each option button (if I go on a record and back a record the selections have returned to their previous state rather than writing to or deleting from the table from the AfterUpdate event).
The option buttons are in a sub form – and I have tried with the code in both forms. Only with the code in the sub form will the select or deselect work – but I think I need to do something else to trigger the AfterUpdate code in the form at the same time?
I am so close to getting this database finished and have learnt so much!!!
Thanks
Roberta
-
WSroberta
AskWoody LoungerHow did you all know my current problem!!!
not crucial but would be of interest:
if there are no records – rather than getting an error report how can you cancel the report and just get a message “nothing to report” or something similar?
Thanks
-
WSroberta
AskWoody LoungerThank you so so much. You just don’t know how much trouble this has got me out of!!!!!
Roberta
-
WSroberta
AskWoody LoungerAfter having spent 3 hours with this – and now revisited it I find that I have not selected event procuedre under After UpDate on the option buttons! I got too bound up with the code.
Apologies for taking up time here
-
WSroberta
AskWoody LoungerDecember 20, 2004 at 7:12 am in reply to: Show no of days left to Christmas on a Form (2003) #914576Your a genius – just had to put sets of brackets along side the “date” bit and it works a treat.
Thanks
-
WSroberta
AskWoody LoungerDecember 20, 2004 at 7:12 am in reply to: Show no of days left to Christmas on a Form (2003) #914577Your a genius – just had to put sets of brackets along side the “date” bit and it works a treat.
Thanks
-
WSroberta
AskWoody LoungerI tried – edit message, then under format selected plain text (agreed that it would lose formatting).
Then I selected edit message again. This then showed Rich Text as an option. Select this – then I found I could insert an item – including notes,
In the reading pane (I am currently using 2003) the note showed and I could click and access it (I assume in any other version it will show in preview.)
Bit of a long way around – but It worked and was quite good!!!
-
WSroberta
AskWoody LoungerI tried – edit message, then under format selected plain text (agreed that it would lose formatting).
Then I selected edit message again. This then showed Rich Text as an option. Select this – then I found I could insert an item – including notes,
In the reading pane (I am currently using 2003) the note showed and I could click and access it (I assume in any other version it will show in preview.)
Bit of a long way around – but It worked and was quite good!!!
-
WSroberta
AskWoody LoungerDecember 11, 2004 at 12:35 pm in reply to: preventing previous message text being altered (2003) #911835Unfortunately with 2003 even this does not seem to work – please has anyone tried Information Rights Management (which seems to be a button on the New Message toolbar now?)
![]() |
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
-
My Simple Word 2010 Macro Is Not Working (Awaiting moderation)
by
mbennett555
7 hours, 55 minutes ago -
Office gets current release
by
Susan Bradley
12 hours, 39 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
1 day, 5 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
13 hours, 42 minutes ago -
Stop the OneDrive defaults
by
CWBillow
1 day, 6 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
1 day, 15 hours ago -
X Suspends Encrypted DMs
by
Alex5723
1 day, 18 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
1 day, 18 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
1 day, 19 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
1 day, 19 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
1 day, 7 hours ago -
Enabling Secureboot
by
ITguy
1 day, 14 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
2 days, 3 hours ago -
No more rounded corners??
by
CWBillow
1 day, 23 hours ago -
Android 15 and IPV6
by
Win7and10
1 day, 13 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
2 days, 15 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
2 days, 18 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
2 days, 13 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
3 days, 1 hour ago -
May preview updates
by
Susan Bradley
2 days, 13 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
2 days, 4 hours ago -
Just got this pop-up page while browsing
by
Alex5723
2 days, 18 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
2 days, 15 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
1 day, 17 hours ago -
At last – installation of 24H2
by
Botswana12
3 days, 17 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
15 hours, 11 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
4 days, 5 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
2 days, 4 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
4 days, 19 hours ago -
Another test post
by
gtd12345
4 days, 19 hours 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.