General information
Category:
Forms & Form designer
>Michelle,
>
>Here's one way to handle it. Make the rowsourcetype Array. In the Init of teh combo put this code;
>
>SELECT code, desc FROM codetable INTO ARRAY tmp ORDER BY code
>lnRow = ALEN(Tmp,1)+1
>DIMENSION Tmp(lnRow,ALEN(Tmp,2))
>Tmp(lnRow,1) = ""
>Tmp(lnRow,2) = "None"
>THIS.Sorted = .T.
>THIS.Requery()
That's a good idea, too. But I already got it working fine the other way, so i think I'll keep what I got.
Thanks,
-Michelle
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only