Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A simple refresh to Grid?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00067888
Message ID:
00068158
Vues:
28
>>The Problem is an immediate update is not recognized in
>>my Grid of View-MailME!
>>The situation is I have a form containing two grids.
>>The form's DE has an Optimistic Row Buff. on View-Mailparm!
>>Grid number 1 lists the Records that the User is in charge of MailME!
>>Grid number 2 shows the list of recipiant candidates View-Users!
>>
>>A button on the form (Charge) is selected to reassign the
>>record selected on Grid 1 View-MailME to the user recognized
>>from selection of Grid 2 View-Users.
>>Both View-MailME and View-Users are non-updatable.
>>When a charge is made I want Grid 1 to properly display that
>>the record just CHARGED to another user should no longer be listed.
>>
>>The Charge method properly reassigns ownership with
>>If lbothgridsel && Grid1 and Grid2 have been visited
>>. Select MailParm
>>. =tableupdate(.T.,.T.)
>>. =requery()
>>. Select MailME
>>. =requery() && this does not show me the proper list
>>. thisform.refresh() ...
>>* Why doesn't the View MailME drop the record that I am no longer in charge of?
>>: MailParm and MailME observe =same Parent-Child set.
>>. Users= Security info.
>>
>>Merry Christmas everyone,
>>Ed B
>
>Ed, did you try to trace step-by-step in the Debugger what's going on after tableupdate?
>If there are local views check the underlying tables in View window too.
>
>Merry Christmas
>
>Nick
Hi Nick,
Thanx for responding - I've just tried tracing through with no helpful outcome.
I know I can CLOSE the form and after reopening the form, get the right result.
So I thought I would CLOSE the View to the Grid (users in charge of)
Didn't help.
So I thought I would just refresh the Grid B-4 selecting MailME in above code.
Still no help.
As you can see - I'm grasping at straws ...
What is an example of solid code to refresh true current table Parametization?
Edgar L. Bolton, B.S. B.B.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform