Custom List Box Columns in Microsoft Access. Dynamically Display Fields Based on User Selection.

  Рет қаралды 17,252

Computer Learning Zone

Computer Learning Zone

Күн бұрын

Пікірлер: 30
@renjithvijayakumar9022
@renjithvijayakumar9022 2 жыл бұрын
The way you are explaining to us is so much interested... Thank you for your classes 🙏
@599CD
@599CD 2 жыл бұрын
Thanks and welcome
@josecandidosorianavalon3339
@josecandidosorianavalon3339 2 жыл бұрын
Superb performance of using sql and controls properties... Thank you and congratulations.
@599CD
@599CD 2 жыл бұрын
Welcome. Glad you enjoyed.
@peterl2616
@peterl2616 2 жыл бұрын
Richard, you are a beast. Love the tricks and shortcuts as always. You rock. Thank you.
@599CD
@599CD 2 жыл бұрын
BEAST MODE ACTIVE! :)
@adelabdelhamid8272
@adelabdelhamid8272 2 жыл бұрын
Really , Unique idea , Unique illustrated lesson , thanks a lot , much respect from Egypt
@599CD
@599CD 2 жыл бұрын
Glad you liked it!
@hassanrozh6579
@hassanrozh6579 2 жыл бұрын
Great idea, thanks so much.
@599CD
@599CD 2 жыл бұрын
You are so welcome!
@simplelivingisfun7646
@simplelivingisfun7646 12 күн бұрын
this is for column values, can i use this for row values? what parameter should i change? thanks in advance
@599CD
@599CD 12 күн бұрын
599cd.com/Ask
@elijahhayes8833
@elijahhayes8833 Жыл бұрын
If one of the columns was a currency field, is there a way to format it in the list box?
@afrinsir7479
@afrinsir7479 Жыл бұрын
is it possible in reports same as it ?
@josemariaroman7057
@josemariaroman7057 2 жыл бұрын
Is it possible just to modify the ColumnWdth property with a 0 or non 0 value depending on the state of the corresponding checkbox? This way all columns are there, but you don't see all of them, and do not have to modify the RecordSource. Or would there be any unforeseen problem?
@599CD
@599CD 2 жыл бұрын
That would work as well. I don't foresee any problems.
@achimmarliani2949
@achimmarliani2949 2 жыл бұрын
Hi Richard, just a short remark: as it comes to adding OnClick events to all the checkboxes you state that there is no easier way to do this. In fact there IS an other and sometimes easier way (and I assume you also know it). That is to in the event properties list add the line "=RequeryList()" to all the OnClick-events instead of adding multiple event handlers, one for each checkbox. But this requires the RequeryList function to be a public function, and I agree that this might be out of scope of even a intermediate level lesson. But all in all, I love to watch your videos, in each of them I find some gems I did'nt know oder understand correctly until.
@599CD
@599CD 2 жыл бұрын
You're mostly correct, Achim. That is definitely quicker than making a unique event handler for each checkbox. I say "mostly" correct because RequeryList doesn't need to be a PUBLIC function. It can still be a private function in that form's module. You do need to make it a function though, even though it doesn't have to return a value. But this would make a cool advanced trick to show people. Thanks for the reminder (I haven't used this technique myself in years). I'll put it in an upcoming Fast Tips video. Hmm... maybe tonight's. :) You are also correct that I try not to put TOO MUCH information in a single video. I don't want to blow peoples' brains. LOL.
@599CD
@599CD 2 жыл бұрын
Just made this the topic of tonight's video. Posting it now. Enjoy! :)
@achimmarliani2949
@achimmarliani2949 2 жыл бұрын
@@599CD :))) Thanks!
@jacksonmacd
@jacksonmacd 2 жыл бұрын
Along the same lines, it would be badly simpler to use a store the display width in the Tag property of each checkbox. Then use a constant record source and control each columns width using the value from the Tag property.
@tewwonwonii8462
@tewwonwonii8462 2 жыл бұрын
Excellent.
@599CD
@599CD 2 жыл бұрын
Many thanks!
@DingusBatus
@DingusBatus 5 ай бұрын
Instead of a bunch of IF statements could it be done with Select Case? Select Case Control.Name. It wouldn’t really shorten the code any, and I don’t know about performance difference, which would be faster, but it “might” look tidier? Certainly a bit more show off like?🤔😜
@afrinsir7479
@afrinsir7479 2 жыл бұрын
awesome please make video on advance vba examples
@599CD
@599CD 2 жыл бұрын
I've got 37 levels of Developer classes: 599cd.com/Developer
@syedabbas201
@syedabbas201 2 жыл бұрын
Nice👍👍
@599CD
@599CD 2 жыл бұрын
Thanks
@abdulhamidalhaddadi2255
@abdulhamidalhaddadi2255 2 жыл бұрын
Great
@599CD
@599CD 2 жыл бұрын
Thanks
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Access error: Error: "Unrecognized Database Format."
1:37
Learning Channel
Рет қаралды 25 М.
Excel Tutorial: How to Select Lottery Numbers
6:01
goaskdebbie
Рет қаралды 171 М.