repeat with

Ken Ray kray at sonsothunder.com
Fri Jan 13 16:04:01 EST 2006


On 1/13/06 2:45 PM, "liamlambert" <liamlambert at mac.com> wrote:

> I have not set the itemDel
> 
> on fSave
>    global gConID
> 
>    if fld "total" is empty then
>      answer error "THERE IS NO TOTAL" as sheet exit to top
>    end if
> 
>    put  
> "name1,phone,child,adult,total,credit,paymenttype,address,address1,addre
> ss2,email,seatNo,ticket,showID" into tFieldNames
>    repeat for each item tField in tFieldNames
>      put "'" & cleanSQL (field tField) & "'" & "," after tRowData
>    end repeat

I noticed a space between "cleanSQL" and "(field tField)". Try removing the
space and see how it goes...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list