Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox problem
Message
 
À
05/08/2007 02:59:49
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01245997
Message ID:
01246001
Vues:
25
Hi Reza,

1) Add this code into Init() event of the listbox class/object
This.Tag=SYS(2015)
2) Add this code into Destroy() event of the listbox class/object
IF USED(This.Tag)
   USE IN (This.Tag)
ENDIF
3) Add "INTO CURSOR (This.Tag)" to end of RowSource's value

MartinaJ

PS: I don't test it :-)

>Dear all,
>I have a form with a listbox in it.
>I set it's RowSourceType = 3 ( SQL Statement ) and RowSource = SELECT Admision.AdmCode, Admision.FileNum, SickInfo.SickName, SickInfo.SickFam, SickInfo.SickDad FROM Admision LEFT OUTER JOIN SickInfo ON Admision.FileNum = SickInfo.FileNum WHERE &FilterStr
>But each time that I change FilterStr based on user selection, and run thisform.list1.requery , a browse window shows. It don’t occur when I run my form for first time, but when I issue requery command, browse window come on my form. Why?
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform