Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox not refreshing
Message
De
18/05/2001 14:39:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00508872
Message ID:
00508915
Vues:
28
>Thanks for answering back Cetin here the code I put in but it still didn't work. It only worked when exited the form and came back into the form.
>
>
>with thisform
>if !empty(.pf1.p1.T1.value)
>	insert into lv_ccn_tbl (ccn, ccn_link, ccn_stamp) ;
>		value (alltrim(.pf1.p1.T1.value), .hldid, datetime())
>	tableupdate(.t.,.t.,'lv_ccn_tbl')
>	lc_id = .hldid
>	requery('lv_ccn_tbl')
>	.pf1.p1.List1.requery
>	.refresh()
>else
>	messagebox('No Court Case Number to add',0,'Warning')
>endif
>endwith
>
>
>
>however, when I change the code from
>
>requery('lv_ccn_tbl')
>
>to
>
>requery()
>
>then it worked fine. I am concerned about having many views in this form that would automatically get requery if I use requery().
>Using requery('lv_ccn_tbl'), which I prefer, would ensure me that I am requerying the right view, but for some reason its not working that way. Any Ideas.
>
>Thanks
>Nick Patel

Nick,
Then sounds like current alias needs requery. However I'm afraid I couldn't understand the problem well.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform