Information générale
Catégorie:
Programmation Orientée Object
Susan,
Where did you set sparse = .f. It should be at column containing checkbox control. Also, currentcontrol should
be checkbox (might it be it's in DynamicCurrentControl ?).
MultiSelectGrid is for replacing Multiselect combos. It works like explorer selection (Space, Ctrl+Click,
Shift+Click etc). Selected records are highlighted, header click sorts on column, current column header has
yellow background etc. It's either created on the fly passing parameters (lcSQL, lcOriginalTableName) or in
designer (set its cSQL, cOriginalTable properties then). Each multiselect (there can be mutipl at a time) grid,
generates a new name for its own cursor. You reach it via .myMultiselectGrid.RecordSource. When grid
removeobjected or its form released, recordsource is also closed in its destroy. So you must use it before grid
has gone. I had included samples with it AFAIK. It's easy to use because its cursor is an SQL copy of its source
with a few more fields added (like recno if selected from just one table).
________________________________________________________________________________
Cetin, the sparse = .f. is where it should be but i'm not so sure about the currentcontrol. how can i set it to what it is suppsoed to be? also, i'm really lost about this multiselect thingy. where should i put the code to set the multiselectgrid? Gosh, I must have sounded like such an idiot to you right now but i dont have a clue what to do!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement