Hi Experts,
I have some strange problem. one of our client using space in customer code. eg. (REL TECH,WEB SOL). but actual problem occure when i used code like this one the codeunits :
CustRec.setrange(CustRec."No.",Mytable."Cust. Order No.");
if CustRec.Findfirst then
begin
.....
end;
as a result it cant found the records.
Thanks in advance..
Rajesh Patel
Experience Makes Man Perfect....
Rajesh Patel
Comments
Do you mean Mytable."Cust. Order No." or some other field of MyTable?
CustRec.setrange(CustRec."No.",Mytable."Cust. No.");
Rajesh Patel
I don't think anyone can be perfect, better but not perfect
http://www.BiloBeauty.com
http://www.autismspeaks.org
my client is using space in Customer No. eg.FRAG DIR
i have one table called mytable in which that Customer No. is available that table actually contain a customer order information. "Customer No." Field of this table having customer No. in mytable. when, i have written some code like this.
CustRec.Setrange(CustRec."No.",mytable."Customer No.")
if CustRec.findfirst then
....
but its can't find such kind of customer. ](*,)
Thanks
Rajesh Patel
CustRec.Setrange(CustRec."No.",'FRAG DIR')?
ERP Consultant (not just Navision) & Navision challenger
RIS Plus, LLC