The title say it.
Some details:
In the OnLookup trigger of page i have the code:
myRec.RESET;
myRec.SETRANGE(myField,TRUE);
myPage.LOOKUPMODE:=TRUE;
myPage.SETTABLEVIEW(myRec);
IF myPage.RUNMODAL = ACTION::LookuoOK THEN
BEGIN
...
END;
When the lookup page is opened it has no filters applied. This works fine in WinXP, not sure for Vista. Compatibility mode doesn't help. Have anyone faced that problem?
Answers
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Yes, I made this test - Create Form and Page
In the form i have a button, OnPush I have
recItem - Record - Item
pItem - Form - Item List
In the page I have action, OnAction I have the same code above and the only difference is pItem is of type "Page".
In Classic Client works fine, in RTC has "No filters applied".
The Service is running on MS Windows Server 2003, database is on another machine also with Windows Server 2003 and SQL Server 2008.
It seems to work OK on my machine (with Windows 7).
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Don't know if I can get that available soon. Let's see.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
...It's not working in 3-tier setup with the Win7 (client), there is no problem with xp
Strange, in 2-Tier setup also doesn't work. I guess the Win7 version also have some meaning. Mine is "Enterprise" 32bit
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Version DE Dynamics NAV 6.0
6.0.29626
Microsoft Dynamics NAV 2009 SP1
Version W1 Dynamics NAV 6.0
6.0.29626
BTW: find a .fob with the test I did build here, It contains the following objects:
TAB66666 Test SetTableView
TAB66667 Test SetTableView - New
FOR66666 Test SetTableView
FOR66667 Test SetTableView - New
PAG66666 Test SetTableView
PAG66667 Test SetTableView - New
The difference between the New objects and the 'not' New is that the for the New objects the Onlookup trigger of the form/page is used; for the 'not' New the Onlookup trigger of the table is used.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Interesting, this bug is only for boolean fields.
BTW: did my test objects work OK with you?
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
ahh, almost forgot, The field Customer No. shouldn't have relation to Customer table in my case and I've removed it, but anyway there's no sense. Still wondering :-k
Edit: With your 'original' test object it's working OK, but you filter a Code field. Then I removed the table relation and of the customer field and changed the SETRANGE to a boolean field to reproduce my problem. And filters aren't set this way. I use your 66667-s objects. I don't need to use the table OnLookup trigger and I must not have a table relation for the field.
Holly smoke =D>
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community