I tried commenting out the following lines from the example above to see if I would get a different result. I get the same result.
To me, this would indicate that SendMessage() is doing nothing. I'm continuing to look for a solution.
' hWndSB = GetFocus
' LngThumb =...
First, let me start by thanking everyone for your support and patience with my previous posts!
After setting aListbox.ListIndex I'm attempting to scroll the listbox so the ListIndex entry is displayed at the top of the listbox. Instead, it seems to always be displayed at the bottom.
What...
Yep, I know the difference. And yes, I named them the same. I'm not very imaginative :)
I tried tweaking the Requery. This works. Yippee!!!
Forms!DBTRacker.Form!EmailTracker.Form.Requery
Can someone provide a technical explanation of the difference between the above statement and the one...
Yep. Sorry, I typeo'd the post. I have the dot in the real code. It doesn't work. I tried other approaches. This is the latest...real code.
DBTracker is a tabbed form. One of the tabs holds the form "People", and another form "EmailTracker"
' Code executed from button on the People subform...
On Form0 I have a tabbed form. On Page1 I have Form1. On Page2 I have Form2.
Form1 has a button that adds a row to Table2 that is displayed by Form2
Form2 is a continuous display form that uses a query as its Record Source to display Table2 rows.
After clicking the button on Form1 to add a...
I'm still not sure why AddItem slows but I've now recoded the routine that populates the listbox, avoiding use of AddItem, and instead, building a string of values in a loop and then setting RowSource to the string.
But the question remains unanswered. Why does AddItem slow with each add only...
This is just plain weird (for the less intuitive).
In the slowdown scenario I commented out the addItem. Processing the recordset was no longer slowed.
So I've narrowed down the problem to be related to listbox.additem.
Thinking that it might be related to having an item selected (even...
I have a form "aForm" that that is bound to a table "aTable". aForm displays a row of aTable. The record selector is used to move through the rows.
Since I have about 2500 rows in the table, I created a popup listbox that lists 2 principle fields, 500 rows at a time. The user clicks on an item...
I figured it out. The answer to my own question is no, the form name is not equal to the subform control name.
The subform control name can be found by opening the main form in design view, and opening the code view (Alt-F11), then scrolling through the Code View Properties window combobox to...
I need a bit more explanation of the reference to subformcontrolName.
Let's say my main form is "MainForm".
It has a tab control called "TabCtl0"
It has several pages ... called Page1, Page2, etc
It has several subforms.. one called "aForm"
Does the subform control name equal the name of the...
OK. So here is the real SQL. I've also included a link to an image of the query design tool.
Anytime the ID reference to a related table is 0, that row is not returned even if the WHERE clause is satisfied. LEFT/RIGHT JOIN was mentioned. I'll read up on that.
SELECT ServersIPDups.[DB Server...
Well, this worked ... but didn't.
When I open aForm as the first form (clicking on it from the list of forms) and then I click the button to open bForm, the reference Forms("aForm).Recordset works.
However, aForm is normally displayed (opened) on a tab of tabbed form. So, while on the tabForm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.