Topic: Dealing with null value Posted: 11 Oct 2018 at 4:08am
I have 2 tables, one list all the projects and the other provide a list of task for the project. In the task table we have a field call LANG_CODE. Basically the LANG_CODE is EN for English and CF for French and null value if any is selected.
In the Select expert for the project I created a parameter field to enter the project number
{?Project}
If I want to query for all EN in the project I used this formula that work well
{LDMXA.EIACODXA} = {?Project} and
{LDMCC.LANG_CODE} = "EN"
When I try to modify the formula to include the null value with this formula it run the query but on all project not the one I specify in my parameter field. This is my formula
{LDMXA.EIACODXA} = {?Project} and
isnull({LDMCC.LANG_CODE}) or {LDMCC.LANG_CODE} = "EN"
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum