var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Run Time Control
Is there any way I can create control run time? I am trying to create check box but run time after the query execute?
Any help will be highly appreciated.
how many check boxes in question?
It depends on query, it can't be more than 50 and these check boxes are in detail section of form.
Thanks for prompt reply.
I am kinda stuck on this problem, any idea about this problem?
if you want to create a checkbox for every record that query returns, you could just create a dummy Yes/No Field in the table and you could show it next to records?
I tried that too. But as i am using Summry Query behind form, I can't update it. Thats why i trying to create control on run time to modify it on fly.
sorry I checked many references and couldn't find any example how to add controls on runtime to Forms in a VBA project. though there are ways to do it in VB, but can't find anything for VBA.
Its nice of you searching for my problem. I am trying too but couldn't find any thing yet. If u find any thing, near time soon, please let me know at firstname.lastname@example.org.
I will, If I come accross with any info.
what about using a listbox control with multiselect option for your query instead checkboxes?
It is detail form with more than 50 records at a time. so user needs to select or deselect each record separatly. Thats why I am looking for check box in detail portion of form.
what I see from your query type, it is a read only query. you could show whole query in a listbox and allow user to make multiple selections. then process selected records accordingly. thats is the only solution comes to my mind.
Yes, u r right, it is a read only query and unfortunately I'm asked to developed a summerized form. So this is way I am looking solution.
This looks like a prime example as to why Microsoft applied the Record Selectors Property to Access (for those of you who can't figure out why it's there).
Originally Posted by
Perhaps you can utilize this feature to accomplish your task.
What would do Record Selector in my problem. Can u expain a lil bit more?