Formatting Question

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

Someone Curious

Hi All

I am still having a problem with a modification I need to make. Hopefully if
I explain better it may help. Thanks in advance of any help.

I have an existing report which works fine.

I have added some check boxes. Dependant on a text field in the same record
I may want to turn on or off the checkbox. I am open to any suggestions. I
have been trying the following to no avail.

I have tried the following to make a procedure in the onformat event of the
detail sheet.

Inside routine......

if [My Actual Table.FirstName].value = "Fred" Then
MySubRoutine
else
MyOtherSubRoutine
end if

This tells me the field does not exist. It is spelt correctly.

Regards
John
 
Curious,
If the field on your report is named FirstName, refer to it as...
If [FirstName] = "Fred" Then...
or
If Me.[FirstName] = "Fred" Then...
 

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

Back
Top