General information
Category:
Forms & Form designer
In your code you should refer to 'ncnt', like this.List(ncnt).
Why do you need buffering stuff and tableupdate at the end? I would not use it.
>>>>>>>>>>>>>...previous messages below
Thanks Yuri,
I have been trying code like that but I am still not having any luck. I get the same ID in all the records in my cursor:
Here is the code I have:
*create a cursor to select activities to post
create cursor posted (itemid c(5))
*fill the cursor with the records the user selects out of the list box
for nCnt = 1 to this.listcount
if this.selected(nCnt)
append blank
REPLACE posted.itemid with alltrim(this.listitem(this.listindex,14))
endif
endfor
SET MULTILOCKS ON && Must be on for table buffering
= CURSORSETPROP('Buffering', 5, 'posted' ) && Enable table buffering
tableupdate(.T.)
Need some more help,
Tyler
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only