Having same problem still

  • Thread starter Thread starter Someone Curious
  • Start date Start date
S

Someone Curious

Hi all

I had some adivce the other day, thanks but I am still having problems

I have a report that uses data from a query to populate.

I want turn on and off check boxes dependant on the data.

I have created sub routines that do this function correctly.

In the detail section I have set up an event on format

It goes like this...


if [My Query]![My Table].[FirstName] = "Fred" then
DoMySubRoutine
else
DoMyOtherSubRoutine
end if

this errors with a runtime error saying field | does not exist.

The error is in the first line although.

Any suggestions

TIA
 
If you're trying to do this from a report, check out Help for Conditional
Formatting.

Regards,
Graham R Seach
Microsoft Access MVP
Canberra, Australia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Parameter Value error in a Subform 0
averaging data 4
Access #Error & Excel Pivot 0
Summing possibly blank Cross Tab in a query 3
Newbie Qusetion 3
Going mad even more!!! 2
Going mad!!! 3
Formatting Question 1

Back
Top