Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2004
    Posts
    3

    Unanswered: For to do next function

    what wrong whit this formula

    stringvar CCustomer:= "";
    numbervar z := 0;

    For z := 1 To 10 do
    stringvar CCustomer:= stringvar CCustomer & "," & {tblH.Customer};
    next

  2. #2
    Join Date
    Jan 2004
    Location
    Jersey, UK
    Posts
    108
    The formula was very nearly right. Try this:

    stringvar CCustomer:= "";
    numbervar z := 0;

    For z := 1 To 10 do
    CCustomer:= CCustomer & "," & {tblH.Customer};
    cCustomer


    Regards - Andy

  3. #3
    Join Date
    Oct 2003
    Posts
    357

    Thumbs up

    Hi, just one correction to the above
    Code:
    stringvar CCustomer:= "";
    numbervar z := 0;
    
    For z := 1 To 10 do
    CCustomer:= CCustomer & "," & {tblH.Customer}; 
    mid(cCustomer,2)
    Madhivanan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •