Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo in a Grid
Message
De
10/07/1998 21:53:08
 
 
À
10/07/1998 06:28:30
Jayesh Vorani
Technova Imaging Systems Limited.
New Bombay, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00116040
Message ID:
00116409
Vues:
14
>I have a Grid in which the first column is the combo which displays the names of diff. stock items and actually stores the the stock code in the table i.e the (rowsource of the grid.)the rowsource of combo is sql stat. which goes this way "select name, code from stock into cursor cur1". it has bound column 2.This combo is derived from a class which is capable of searching that particular name in stock table after everykey stroke.It is a drop down combo and not a drop down list.the user is allowed to type in the stock name and acc. the nearest matching value is auto. displayed.This works fine when outside the grid. what do i do if want to include this combo in a grid.Any Help or clues are welcome and appreciated!
>
>Jay.




I suggest you to find InGrid at File Section instead of using Combox..
if you want the cobox to carry stock item...

Because:
1) User are hard to find the item with huge number, DownClick combox only show 7 item and need scroll it.

2) You need to Download SP3 to fix the #253 problem on Combox.
i.e. when the listbox/combox go to the record #253 or #253 + 256 Multiple..
The system will great Crash and quit the system at once!!!



If you really want to use Combox by ignoring above problem,
assign the following value in Form designer:

Grid.Recordsource = "Orderline"
Grid.Column1.controlsource = "Orderline.item"
Grid.Column1.Text1.RowSource = "Item.Item"
Grid.Column1.Text1.RowSourceType = 6 && Use Field instead of SQL!

(You can try it and consider the User View!)
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform