Search results

  1. Luis Fernandez

    Solved Listbox AfterUpdate and click when there is no selection

    It is activated in the same way, both with arrow movement and with the mouse BeforeUpdate -->AfterUpdate -->Click
  2. Luis Fernandez

    Solved Listbox AfterUpdate and click when there is no selection

    Okay I want to execute a code when selecting/deselecting in a multiselect listbox This code will do things live, since I need to know in what order the items were selected, since selecting 4 and 7 will not be the same as selecting 7 and 4. and of course it cannot execute this code if I only move...
  3. Luis Fernandez

    Solved Listbox AfterUpdate and click when there is no selection

    Salomonic solution, lol It works perfect: Declarations Dim Totalselect As Integer - Load Event Totalselect=ListBox1.ItemsSelected.Count -EventBeforeUpdate If Totalselect=ListBox1.ItemsSelected.Count Then Cancel=1 'This cancels the AfterUpdate and click events (unless you need them...
  4. Luis Fernandez

    Solved Listbox AfterUpdate and click when there is no selection

    I think I have a somewhat improved solution. If I use the set Listbox1.ItemsSelected.Count and memorize it, I can detect if an item was selected/deselected, since this counter will tell me one more or one less than previously, and if it has not changed then I do not take it into account because...
  5. Luis Fernandez

    Solved Listbox AfterUpdate and click when there is no selection

    The problem is simple, the multiselect listbox is not used to select anything, because it has no event before selecting or after selecting, therefore it is not useful to be used and know live if something was selected or not. It's funny that a control that is specifically for selecting lists...
  6. Luis Fernandez

    Solved Listbox AfterUpdate and click when there is no selection

    Oldvalue did not work, since the items do not have oldvalue, only the control and the listboxes always return null to value and oldvalue. I think I will have to do everything manually, that is, I will memorize each selection value of each item and then compare them to see if they have changed...
  7. Luis Fernandez

    Solved Listbox AfterUpdate and click when there is no selection

    I had forgotten the OldValue can help me, I thought so What I'm saying is that the afterUpdate event is triggered by moving from one row to another although there is no update of selected, no row has changed to selected/deselected. I have to discard the movements or positioning in the rows since...
  8. Luis Fernandez

    Preventing end users from using copies of your front end - the solution

    My solution, I have a text in the Windows registry that I check to see if I am authorized. I do this authorization through a key that shows the application and that contains some bios checksums and other parameters of the equipment, the system and the allowed dates of use, to which I send...
  9. Luis Fernandez

    How can i Move My Form to my left of my screen on Load

    You must also understand that the forms open within access and not anywhere. Therefore you must maximize access to cover everything and position your forms as desired. If what you want is to show other applications, you will have to modify the access form in me.app and other ways. You can also...
  10. Luis Fernandez

    Finding Data From String

    a$=Mid(fn(ifn), vbCrLf & vbCrLf) This is not valid Is: a$=Mid(Strng, position from, number of characters)
  11. Luis Fernandez

    Can't access the "List box" from my "Form"

    I think that when selecting a record it should add data to the listbox, but this does not do it Me.Selected_Tasks.AddItem strSQL What you should add to the listbox is a row with some columns, for example Id, name and other data that would allow you to then do something with those texts, it does...
  12. Luis Fernandez

    Hello, I am new to the forum

    Hola soy nuevo en el foro Me presento, mi nombre es Luis Fernandez aunque soy nuevo en este foro, trabajo con acceso desde el año 2000, hago sistemas en Venezuela, aunque soy originario de España. Fabrico sistemas para zapaterías, ferreterías, administradoras de condominios y autogestión de...
  13. Luis Fernandez

    Solved Need Assistance: How to update record from form listbox?

    Corrected although I was not referring to the person but to the process, my apologies
  14. Luis Fernandez

    Can't deselect item in non-multi-select listbox?

    There is one more option that I think is not exposed and that is to place it as the first row (Select a row) and this first row deselects all the others but will not be taken into account. Or also say "unselect here" Nothing out of this world but it is an option
  15. Luis Fernandez

    Solved Listbox AfterUpdate and click when there is no selection

    I have a problem that, although I haven't thought about it much, I don't think I see an easy solution. In a multiselect lisbox when I click with the mouse and select an items/row, afterupdate and click are activated, but when I use the down arrow and I only position myself (not selecting) the 2...
  16. Luis Fernandez

    Solved Need Assistance: How to update record from form listbox?

    Using a list box or combo box to choose a record and then edit it with texbox as fields is complex A recorset allows you to position yourself in a record and modify the data, both in the form of a continuous list and in the form of fields. Unless I don't understand the problem and I'm wrong.
Back
Top Bottom