A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Two seperate but same problems



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2010, 04:39 PM posted to microsoft.public.access.reports
Victor[_7_]
external usenet poster
 
Posts: 5
Default Two seperate but same problems


I know these are two seperate problems, but I got them to work and I don't
understand how.

First: I have 6 fields that are conditionally formatted to be bold/red
bg/yellow font if a corrosponding check box is ticked. It is coded:
EXPRESSION IS [HP].Value=-1 Where HP is the Checkbox
It doesn't work.....sort of.


Second: I have a macro that print previews a report based on the ID
(primary key) of the currecnt record (to be printed). When the button is
clicked, a pop up appears asking for the ID (ID1). This is the macro
coding: [ID1]=[Forms]![App 1]![ID1] Where ID1 is the record in form
App 1.


Now here is the thing:
When I open the database up, the Macro Security warning comes up at the top
(under the ribbon). If I ENABLE THIS CONTENT, the coding DOES NOT work.
If I continue on with HELP PROTECT ME FROM UNKNOWN CONTENT (RECOMMENDED),
the two "problems" work correctly.

That does not make sense to me. Any help or insight on this?

Vito
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.