Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

How to display vendor detail from vendor code in report

$
0
0

Hi All,

I am creating new report from two tables Enquiry & Enquiry Line. And Enquiry Line table contain vendor numbers article wise in "Vendor No." field.

Now i want to print vendor detail on the header of report so i write following  code on Enquiry Line - OnAfterGetRecord():-

Enquiry Line - OnAfterGetRecord()

Vendrs.RESET;
Vendrs.SETRANGE(Vendrs."No.","Vendor No.");
IF Vendrs.FIND('-') THEN
vend:=Vendrs."No.";
name:=Vendrs.Name;
add:=Vendrs.Address;

Vendrs is a Record type variable of vendor table.

But it is not displaying vendor details in report, pls tell me where i am doing wrong i will be very thankfull to you.

 

Neel

 

 


Viewing all articles
Browse latest Browse all 15740

Trending Articles