lookup page not show 'ok' button
GRUBBYFANS
Member Posts: 154
today,i have write some code in a page,when you click a field in page,like lookup filed in form,but the lookup page,i can't see its 'ok' button,why?i don't know the reason,please help me 

,in the Classic,the program is right
0
Comments
-
May be that the page you are using have wrong Page type...0
-
which type do you think? list?card?worksheet?listpart?kine i can send the program to you,please help me,i think it is a bug :-kkine wrote:May be that the page you are using have wrong Page type...0 -
Which page type have you used? Compare it with a page, which works as lookup and have the OK button on it. It is easy way how to check if all is correct and you can do it yourself... ;-)0
-
page type is worksheetkine wrote:Which page type have you used? Compare it with a page, which works as lookup and have the OK button on it. It is easy way how to check if all is correct and you can do it yourself... ;-)0 -
Worksheet is used for journals, not as lookup page... you need to use correct page type in correct case. That there are other features you want to use doesn't mean that you can just change the page type and it will still works correctly.0
-
kine,you can see the page 562,and see the report 94,the dimension lookup field,this is my logickine wrote:Worksheet is used for journals, not as lookup page... you need to use correct page type in correct case. That there are other features you want to use doesn't mean that you can just change the page type and it will still works correctly.0 -
Can you post the code where you are running the page? The original screenshots are not available anymore...0
-
kine wrote:Can you post the code where you are running the page? The original screenshots are not available anymore...
this is my code!
Name DataType Subtype
GenBusPostGrpSelect page Gen. Bus Post Group Select
GenBusPostGrp Record Gen. Business Posting Group
TempGenBusPostGrp Record Gen. Business Posting GroupCLEAR(GenBusPostGrpSelect); IF GenBusPostGrp.FIND('-') THEN REPEAT GenBusPostGrpSelect.InsertGenBusPostGrpBuf( GenBusPostGrp.Selected,GenBusPostGrp.Code, GenBusPostGrp.Description); UNTIL GenBusPostGrp.NEXT = 0; GenBusPostGrpSelect.LOOKUPMODE := TRUE; IF GenBusPostGrpSelect.RUNMODAL = ACTION::LookupOK THEN BEGIN GenBusPostGrpSelect.GetGenBusPostGrpBuf(TempGenBusPostGrp); SetGenBusPostGrpSelect( TempGenBusPostGrp,SelectedText); END;when the code run, the screenshot is lookup form,i can't see 'ok' button0 -
Ok. I have tested this:
1) Created new page of type worksheet over some table
2) Added some fields to the page
3) Run the page from designer
4) -> the page opened have OK button...
There must be some other problem...0 -
Is the code in the OnLookup trigger... becouse the "..." symbol appears when you heve code in the OnAssistEdit trigger-Mihail- [MCTS]0
-
all right,i am trying to change my program code,i will see the result :-k :-kmihail_kolev wrote:Is the code in the OnLookup trigger... becouse the "..." symbol appears when you heve code in the OnAssistEdit trigger0 -
Hello everybody
,
I had pretty the same issue with a page which I created in NAV 2013.
I fixed it with the following rule:
When there is code behind the OnLookup trigger where we want to handle the lookup and additional the field has the property "TableRelation" filled, the Lookup-Page will has no "OK" button.
So I just deleted the TableRelation value and my lookup was working as I wanted.
I hope this is helpful.
Thanks0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
