Hi!
I need to call existing shorcut menu when user right-clicks on the list box.
At the moment, I can call shortcut menu from onClick event on command button. I want to use right-click instead.
How is that possible?
Thanks!
Managed!
Just had to add another control to copy string as text.
Found solution in samples.
http://www.access-programmers.co.uk/forums/showthread.php?t=110203&highlight=searching+sorting
Thanks anyway!
I am always impressed by response speed on this forum. Thank you for that!
My original code is as follows:
Private Sub CtrPretraga_KeyUp(KeyCode As Integer, Shift As Integer)
Dim st As String
Dim st As String
st = "SELECT KomitentiDB.IdKomitenta, [NazivFirme] & ' ' & [grad] AS Komitent...
Hi!
I want to use TextBox to populate data in the ListBox as user types data in the TextBox.
I made SQL to use as RowSource for the ListBox and it works fine if I use CommandButton to triger the event. Since I want as-you-type event, I tried to use On Key Up or On Change properties, in...
I am trying to conect my db to Outlook. The code I want to use begins with:
Dim objOutlook As outlook.application
If I try to run the code, I recive "Compile error: User-defined type not defined"
I guess Outlook.Application is built in feature. I presume that when I type "As" I should find...
Hello!
I am working on a database that uses a table from another access database. I am not sure but I think the problem started after this line was added to the code:
Set dbk = OpenDatabase("D:\My documents\Japi\OritaColor\Baze\Knjigovodstvo1.1.mdb")
The database still works fine on one...
When I use this code to get resolution info, I receive for both screenX and screenY 0 value in message box. What am I doing wrong?
If this is not working, is there another way to get scrren resolution information?
How can I change default value to an unbound control?
I would like to avoid using table if possible.
Code control name.defaultvalue = -1 works fine, but when I close the form and open it again, new default value is not saved.
Using Properties>Data>Locked = Yes, locks the field. The options are visible, but you can't change control's value. I need to be able to choose between options.
There are only two options in the combo, so auto expand option is not important.
By typing in the combo user changes original...
I would like to forbid typing text to the combo box. I tried limit to list option but, even if it is set to yes, you can still type text in to the combo. How can I disable user to type text in to combo? Is it possible to stop user from entering the combo, but still allow choosing combo options...