Recent content by romanlo

  1. R

    Combobox

    Sorry understood db as a database.
  2. R

    Combobox

    here u are. You can see the table I am using to get the data from
  3. R

    Combobox

    Thank you Micron for your comments. Right I need to clarify what I really want. Ok. I have a form. The form is bound to the table where I am taking data from. It looks like a graveyard. On the form there are some labels coreposnding to each tomb. When I press label1 in the text boxes shows me...
  4. R

    Combobox

    Guys I know I am very new and I am trying to manage. sometimes making some silly mistakes. I am placing some code which is working only when I firstly press the label called,"Etykieta". However I need such functionality without clicking that label. Only when I select the name from the combox I...
  5. R

    Combobox

    Dear Ranman. I am not using the loop but still get the error: object variable not set. the lbl is a control type
  6. R

    Combobox

    the last before end if
  7. R

    Combobox

    it gives me run-timer error:91 object variable not set If IsNull(Me.choose) Then lbl.BackColor = vbRed Else lbl.BackColor = vbGreen End If
  8. R

    Combobox

    Hi there I am trying to use combox with selection the right label. When I select a name from the combobox called "choose" I would like to change the colour just the label where record is assinged to. When I select lets say name1 then the label nr1 is colored. THis what I have is changing me all...
  9. R

    How to copy result from one form to anther

    https://www.access-programmers.co.uk/forums/threads/loop-all-controls.309782/page-2
  10. R

    How to copy result from one form to anther

    I have tried to capture by: form2 code Private Sub Form_Load() Dim lab As Control lab = Me.TabControl.Pages(0).Controls("Etykieta").Caption lab = Forms!Sektor.LABEL_PREFIX.Caption '"LABEL_PREFIX" is declared as Private Const LABEL_PREFIX As String = "Etykieta" in form1 End Sub But maybe my...
  11. R

    How to copy result from one form to anther

    They have the same name
  12. R

    How to copy result from one form to anther

    Hi there few days ago I had a problem with changing the color of the label. Thanks to cheek.. it is resolved. II want to: when I click label on the form1 it changes the color, gives me the correct record after using the printbutton the form2 shows the same selected label with color changed. I...
  13. R

    Solved loop all controls

    Dear cheekybudha. Now it is working perfectly as wished. Thanks a lot for your time. I am very green in this yet.
  14. R

    Solved loop all controls

    there are more ...
  15. R

    Solved loop all controls

    It shows me: New OnClick: =LabelClick(1250) Label name: Etykieta239 Label index: 239 Original OnClick: New OnClick: =LabelClick(239) Label name: Etykieta_150 Label index: _150 Original OnClick:
Top Bottom