Advertisement

07.16.2008 at 12:18PM PDT, ID: 23570906
[x]
Attachment Details

Why does the IsNull VB no worky?

Asked by future_hooves in Access Coding/Macros, Access Reports, VB Script

Tags: , , ,

Hello Experts,
In my Project report I have this VB
Private Sub ProjectHeader_Format(Cancel As Integer, FormatCount As Integer)
If ProjectextID = IsNull(ProjectextID) Then
        Me.txtProjectterms = ""
        Else
        Me.txtProjectterms = "test"
        End If
End Sub

If the record I am running the report on has a 'ProjectextID' it returns test
If not, I got a "you have entered an expression that has no value'.  I know I am missing something easy here.....  

Thanks,
TerryStart Free Trial
 
Loading Advertisement...
 
[+][-]07.16.2008 at 12:20PM PDT, ID: 22019193

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Access Reports, VB Script
Tags: Microsoft, Access, 2007, VBA
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.16.2008 at 12:31PM PDT, ID: 22019285

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 12:39PM PDT, ID: 22019373

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 12:42PM PDT, ID: 22019405

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 03:29PM PDT, ID: 22020774

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628