Re: Form objects' data where not refreshed

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi

Can be a number of things.
Most likely is that the record pointer is still on the deleted record. Look
in the help file for "set deleted". Set deleted on to filter deleted rcords.
After the delete issue a go top or skip to move the record pointer. HTH


"neojhz" <neojhz@xxxxxxxxx> wrote in message
news:1163665221.801762.317480@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,

I have a little problem here. What I did was delete ALL data on the
cursor and append new data to the cursor and issue tableupdate. The
table is in buffering mode. Supposedly the objects that where bounded
where to display new set of data since it was deleted. However it was
not refreshed even issuing ThisForm.Refresh(). What could the problem
be?
I've experimented with the coding and still i failed.

Coding (written on a separate prg):

delete all in (lcAlias)
llAppend = .t.
oXMLAdapter.Tables[1].ToCursor(llAppend,tcAlias)
tableupdate(.t.,.t.,tcAlias)
...

any help is appreciated

Thanks



.



Relevant Pages

  • Re: DE bug?
    ... If you open a view twice, even in the same datasession, each view cursor has ... > Each cursor must maintain its own relations, its own record pointer, etc. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Issue with Count and position in grid
    ... The cursor is based on a CA. ... And the Scan was the statement who brought the record pointer to the end. ... So your suggestion actually helped me to find the problem is somewhere else ... >> are possible valid rows ...
    (microsoft.public.fox.helpwanted)
  • Re: Issue with Count and position in grid
    ... The cursor is based on a CA. ... And the Scan was the statement who brought the record pointer to the end. ... So your suggestion actually helped me to find the problem is somewhere else ... >> are possible valid rows ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Problem with grid control when using a temp CURSOR
    ... In addition to what Jack said, I've had this problem, as recently as today: ... >>Having difficulting using a grid that is linked to a temporary CURSOR ... after inserting records into the grid move the record pointer to ...
    (microsoft.public.fox.programmer.exchange)