I'm no expert in this by any means so forgive me if this is a dumb question.
I created a small database in Access. I then created a form to go with it that allows the user to select an Order Number. The Order Number is simply pulled from one of the tables available.
To do this, I added a combo box and entered the fields I wanted it to display into the properties. SO #, Date, Cust #, Cust Name. When I select the dropdown box on the form, I can see all of the fields clearly and each one appears in its own column. Additionally, the column headers are included. I can make the combo box 3 characters wide, but when I select to drop it down, I can still see all 4 columns. In other words, the dropdown portion of the box expands to accomodate the info.
I have been struggling do create the exact same form in VB. I cannot find a simple combo box that will allow me to perform the same simple format. Is there one out there? The only thing I have been able to do is get the 4 fields into the dropdown. The formatting is terrible and in order to see all of the info when I drop the box down, I have to make the width of the dropdown box go across half of the screen. i.e. I have a very wide and narrow form which is kinda silly.
To sum it all up, here is what I am hoping for:
1. Dropdown box itself is small. When pressing the dropdown arrow, the lower "dropdown" portion will expand to display all selected data.
2. Include all 4 columns in the dropdown. Each column should be left aligned and I'd like a delimter between them such as | (pipe).
3. Column headers should be displayed for each column.
Is there a nice combo box control somewhere that will allow me to do this through VB? The only ones I've found:
1. Must be extremely wide to accomodate all of the information from the 4 fields.
2. Must concatenate all of the fields in order to display them all. Only allows you to List one field by default.
3. Does not display column headers.
Any help would be appreciated.
I created a small database in Access. I then created a form to go with it that allows the user to select an Order Number. The Order Number is simply pulled from one of the tables available.
To do this, I added a combo box and entered the fields I wanted it to display into the properties. SO #, Date, Cust #, Cust Name. When I select the dropdown box on the form, I can see all of the fields clearly and each one appears in its own column. Additionally, the column headers are included. I can make the combo box 3 characters wide, but when I select to drop it down, I can still see all 4 columns. In other words, the dropdown portion of the box expands to accomodate the info.
I have been struggling do create the exact same form in VB. I cannot find a simple combo box that will allow me to perform the same simple format. Is there one out there? The only thing I have been able to do is get the 4 fields into the dropdown. The formatting is terrible and in order to see all of the info when I drop the box down, I have to make the width of the dropdown box go across half of the screen. i.e. I have a very wide and narrow form which is kinda silly.
To sum it all up, here is what I am hoping for:
1. Dropdown box itself is small. When pressing the dropdown arrow, the lower "dropdown" portion will expand to display all selected data.
2. Include all 4 columns in the dropdown. Each column should be left aligned and I'd like a delimter between them such as | (pipe).
3. Column headers should be displayed for each column.
Is there a nice combo box control somewhere that will allow me to do this through VB? The only ones I've found:
1. Must be extremely wide to accomodate all of the information from the 4 fields.
2. Must concatenate all of the fields in order to display them all. Only allows you to List one field by default.
3. Does not display column headers.
Any help would be appreciated.