Hi,
I have made a page where one can make some events but when it runs a Table Filter fails.
The code:
The lookup:
The output:
The output should have a filter on the Product DS instead of 1 - which I think is the Fieldnumber for the Field Product.
Anyone seen this before?
It worked on my old XP-machine...
NOTE: it is NAV 2009 R2
/Allan
0
Answers
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
That is not the problem, the problem is that the filter in Tablerelation doesn't work proberly.
It looks like it is taking the Field No. (1) as the Filter instead og the actual value ('DS') of the Field...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
But this worked on my Win XP machine.. :x
Can't see why this doesn't work. Have been looking at the hotfixes for my client, but can't see that this has been a problem that there has been made a hotfix for.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
EDIT: oops, ignore this
EDIT2: Did you try to use simple code variable, not record variable for the field. This may be caused by the definition of the SubLedgEntryTemp."Price Code" field (maybe 1 is the first record in SubLedgEntryTemp table, the Product field or something.)
In other words... maybe the table relation that you have written in the page is ignored and the lookup that you see is the set by the SubLedgEntryTemp record
Have tried to change it to a variable but it makes no difference.
https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;EN-US;2548578
The problem that you describe looks like the problem that was addressed with this hotfix.
/Djordje
That is exactly my problem - have tried to look at the hotfixes but must have missed that one.
TY.