How can I use Form - OnFindRecord and Form - OnNextRecord???

GRUBBYFANS
Member Posts: 154
Form - OnFindRecord(Which : Text[1024]) : Boolean
Form - OnNextRecord(Steps : Integer) : Integer
How It is Insert record? Please give me example,I want to kown its work truth. :-k :-k :-k
Form - OnNextRecord(Steps : Integer) : Integer
How It is Insert record? Please give me example,I want to kown its work truth. :-k :-k :-k
0
Comments
-
Do you have use the onlinehelp :?:Do you make it right, it works too!0
-
garak wrote:Do you have use the onlinehelp :?:0
-
the OnFindRecord trigger fires when a form is opened and a record is
retrieved,Experience Makes Man Perfect....
Rajesh Patel0 -
Form - OnNextRecord(Steps : Integer) : Integer This is use to select next record of a form . lets
Example ........ In a table you have record 1,2,3,4,5 etc .you want to see (from form ) record 1 then 3 then 5 and 2 ,4 will be skip .at that time you will write code OnNextRecord(Steps : Integer) and mention step:=2.
we write code OnNextRecord(Steps : Integer) when we have to do some thing with the next record of the table .0 -
arindom wrote:Form - OnNextRecord(Steps : Integer) : Integer This is use to select next record of a form . lets
Example ........ In a table you have record 1,2,3,4,5 etc .you want to see (from form ) record 1 then 3 then 5 and 2 ,4 will be skip .at that time you will write code OnNextRecord(Steps : Integer) and mention step:=2.
we write code OnNextRecord(Steps : Integer) when we have to do some thing with the next record of the table .
=D> =D> =D> arindom, Very Good, Thank you0 -
sample record:
both in OnFindRecord and OnNextRecord:
OnFindRecord:
TmpRec.COPY(Rec);
IF NOT TmpRec.FIND(Which) THEN
EXIT(FALSE);
Rec :=TmpRec;
EXIT(TRUE);
OnNextRecord:
TmpRec.COPY(Rec);
CurrSteps :=TmpRec.NEXT(Steps);
IF CurrSteps <>0 THEN
Rec := TmpRec;
EXIT(CurrSteps);0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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