PC Review


Reply
Thread Tools Rate Thread

Access 2002 Desktop Developer MultiPik (Ch 7) question

 
 
Jesse
Guest
Posts: n/a
 
      29th Nov 2006
In chapter 7 of the referenced book, the MultiPik class provides the
functionality that I need. I need to be able to view several more
columns in the listbox and at the top of the class states that I need
to add more members to the DataRow type. I addedd more members but the
other columns are not showing. How can I get the class to show
additional columns? TIA

 
Reply With Quote
 
 
 
 
Adam
Guest
Posts: n/a
 
      29th Nov 2006
What are you chaffing on about?


Jesse wrote:
> In chapter 7 of the referenced book, the MultiPik class provides the
> functionality that I need. I need to be able to view several more
> columns in the listbox and at the top of the class states that I need
> to add more members to the DataRow type. I addedd more members but the
> other columns are not showing. How can I get the class to show
> additional columns? TIA


 
Reply With Quote
 
Jesse
Guest
Posts: n/a
 
      29th Nov 2006
How can I make the class show more than one column?

 
Reply With Quote
 
punjab_tom
Guest
Posts: n/a
 
      29th Nov 2006
I think that he's just talking about the standard listbox

columns might be set to 1.. you might need to increase that

and columnwidths also of course.. it might be 1 right now; you might
need to change it to 1;1;1;1;1 in order to display 5 columns




Jesse wrote:
> In chapter 7 of the referenced book, the MultiPik class provides the
> functionality that I need. I need to be able to view several more
> columns in the listbox and at the top of the class states that I need
> to add more members to the DataRow type. I addedd more members but the
> other columns are not showing. How can I get the class to show
> additional columns? TIA


 
Reply With Quote
 
Jesse
Guest
Posts: n/a
 
      30th Nov 2006
Punjab is right, the MultiPik class is for the listbox control.
However, after trying with several changes of the code, figured out
that the class is built to handle only two columns. At the top of the
class says that you only need to add more members to the DataRow type
making me believe that by changing the ColumnCount property of the
listbox control, the listbox will show the additional columns of data.
The listbox uses a callback function to get its data and the callback
function is handled by the class. The way its written, the callback
function does not provide the functionality to retrieve additional
columns. Anyway, I'll try to tinker with the callback function code to
make it recognize more than one column. If I get it right, I'll post
it here. Thanks.

punjab_tom wrote:
> I think that he's just talking about the standard listbox
>
> columns might be set to 1.. you might need to increase that
>
> and columnwidths also of course.. it might be 1 right now; you might
> need to change it to 1;1;1;1;1 in order to display 5 columns
>
>
>
>
> Jesse wrote:
> > In chapter 7 of the referenced book, the MultiPik class provides the
> > functionality that I need. I need to be able to view several more
> > columns in the listbox and at the top of the class states that I need
> > to add more members to the DataRow type. I addedd more members but the
> > other columns are not showing. How can I get the class to show
> > additional columns? TIA


 
Reply With Quote
 
punjab_tom
Guest
Posts: n/a
 
      4th Dec 2006
yeah you can just refer to the Columns() argument; I believe that it
takes 2 arguments, RowNumber and ColumnNumber

-Tom


Jesse wrote:
> Punjab is right, the MultiPik class is for the listbox control.
> However, after trying with several changes of the code, figured out
> that the class is built to handle only two columns. At the top of the
> class says that you only need to add more members to the DataRow type
> making me believe that by changing the ColumnCount property of the
> listbox control, the listbox will show the additional columns of data.
> The listbox uses a callback function to get its data and the callback
> function is handled by the class. The way its written, the callback
> function does not provide the functionality to retrieve additional
> columns. Anyway, I'll try to tinker with the callback function code to
> make it recognize more than one column. If I get it right, I'll post
> it here. Thanks.
>
> punjab_tom wrote:
> > I think that he's just talking about the standard listbox
> >
> > columns might be set to 1.. you might need to increase that
> >
> > and columnwidths also of course.. it might be 1 right now; you might
> > need to change it to 1;1;1;1;1 in order to display 5 columns
> >
> >
> >
> >
> > Jesse wrote:
> > > In chapter 7 of the referenced book, the MultiPik class provides the
> > > functionality that I need. I need to be able to view several more
> > > columns in the listbox and at the top of the class states that I need
> > > to add more members to the DataRow type. I addedd more members but the
> > > other columns are not showing. How can I get the class to show
> > > additional columns? TIA


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Access 2002 Desktop Developer's Handbook" chapter 7 file - does not work w/A2003 SamDeMan Microsoft Access VBA Modules 9 5th Jan 2007 03:30 AM
access 2000 developer version vs 2002 developer version JulieD Microsoft Access Getting Started 2 8th Feb 2005 02:25 PM
Access 2002 Desktop Developer's Handbook DP Microsoft Access Getting Started 0 3rd Apr 2004 05:18 PM
Access 2002 Developer Version Sunny Microsoft Access Getting Started 1 22nd Mar 2004 09:07 PM
Access 2002 Developer edition Sirocco Microsoft Access ADP SQL Server 0 6th Aug 2003 05:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:17 PM.