Code Comments
Programming Forum and web based access to our favorite programming groups.hi, i am new in clarion, i need help to write code for made changes in my database with loop and put command, i try with loop and add command and it works but don't wotks with command put, here is my sample code SET(Strogaev) ----> database LOOP I#= 1 TO LOC:BrojPolica ----> local var PUT(Strogaev) ----> change record --> next four rows are my database fields with changed values from my form STR:Strogapri = STR:Strogapri STR:Strogadok = STR:Strogadok STR:Datumz = STR:Datumz STR:Strogaozn = STR:Strogaozn NEXT(Strogaev) END BUILD(Strogaev) please correct my embed code, thanks
Post Follow-up to this messageIt's not clear what you are trying to do, however, you normally have the PUT line after you make the data changes and not before. Also, you need to test your NEXT statement to ensure you are not trying to read beyond the EOF (If errorcode() then break. <if using legacy> ).
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.