I have added the column widths so the user can view the columns. Where do I specify that there are n columns so the ComboBox displays the columns selected?
I cannot get it to show anything other than the bound column once selected. Any chance you can knock up a quick example?
Thanks guys those responses were very helpful. I was hoping it was going to be easier than that. I have used a combination of the 2 to come up with a solution.
I passed the data to textboxes (hiden) as with the example given, then passed them up into a single textbox. A bit of a mess I know...
Solved: ComboBox to display all fields not only the link
Hi all,
I have got a ComboBox which helps the user select a person they are looking for. When it is clicked it shows their FirstName, LastName and JobRole.
However once they have made the selection it only shows the first value i.e...
No error now but it is giving out 0 as the Application_No everytime. When I add +1 to the end of the code it is giving out all 1s i.e. not seeign that 1 is already there.
I'm confused
Yes. I can't get Galaxiom's code to work either even with referencing the form i.e.
curAppNo = Nz(DMax("Application_No", "APPLICATIONS", "Contract_No =" & Forms!frmAddApplication.[txtContractNo]), 0) + 1
Yes I agree, it was Long but I put it as Byte when I was messing around with it.
I get an error
Thanks for the input; once I got the code working I was going to think about the best place to put it, now I know :)
Hi all,
I'm sure one of you guys can spot the problem here? I have been banging my head against a brick wall for 2 hours :(
I am trying to find the highest Application_No and add 1 to it and then pass it to a text box. Easy right???
Private Sub Form_BeforeInsert(Cancel As Integer)
'curAppNo -...