Hi Friends
(VFP6 Win98)
If I wished to process a table using fox's native way of processing, I would do something like:
Code:
Select stocks
go top
Do While !Eof()
Replace qty with qty + 3
Skip
EndDo
How will I accomplish this if am using Sql pass through
against say Access DB/MSSQL etc. How do I move from record 1 to next processing until all records are done.
Something like this:
= SQLEXEC(nConnection,"Select * from stocks","stocks")
Select Stocks
.. blah
.. is not advisable in cases where records may be many in the table.
Please help