Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox problem
Message
From
02/01/2006 05:24:33
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
01/01/2006 08:39:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01082238
Message ID:
01082390
Views:
8
>My problem start from here. for example i have 4 records as below :
>TCode TName
>-------------
>1 Wname
>2 Aname
>3 Uname
>4 Hname
>
>if i set order to TCode and i stay on TCode=3 in list box , so i change the order to TName, i want to stay on TCode=3 again, but it changed to another TCode.

>
>In the Valid of your option group:
>
>
>IF This.Value = 1
>  SET ORDER TO TAG TCode IN MyAlias
>ELSE
>  SET ORDER TO TAG TName IN MyAlias
>ENDIF
>WITH This.Parent.MyListBox
>  lnValue = .Value
>  .Requery()
>  .Value = lnValue
>ENDWITH
>
Thank you very much dear Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform