Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

loop for update files
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


Report this thread to moderator Post Follow-up to this message
Old Post
ikonjevic
02-23-05 08:55 PM


Re: loop for update files
It'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> ).


Report this thread to moderator Post Follow-up to this message
Old Post
Sid Nitram
02-23-05 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:55 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.