Recent content by steve87bg

  1. S

    IF value from column in subform

    What am i dooing wrong? :banghead: Set rstSubForm = Forms![qpocetnostanje subform]![qpocetnostanje subform1].Form!Stanje.Recordset Do While Not rstSubForm.EOF If Me![qpocetnostanje subform1].Form!Stanje = "Ne žigosana" Then MsgBox "Izveštaj NE SME da sadrži ne žigosanu robu. Molim Vas vratite...
  2. S

    IF value from column in subform

    I tried that code but it only works if the first value in subform column Stanje is equal to Jeste
  3. S

    IF value from column in subform

    Button is on main form and it opens report. But if there's a value Jeste in subform coluymn Stanje i whant to display msgbox
  4. S

    IF value from column in subform

    at button click
  5. S

    IF value from column in subform

    I have subform on my main form. Subform is showing as datasheet on my main form. I whant to if some value in my subform column "Stanje" is equal to "Jeste" to display msgbox. is that possible?:confused:
  6. S

    Select multiple values in where expression

    I want to make subform from query . I have a form and user enter values that he want subform to show. I was wondering if user could select multiple items from a list and that subform show that values?:banghead: Form name is "PocetnoStanje"
  7. S

    Subform year from textbox

    It wont work. Its said that expression is typed incorrectly or that is too complex
  8. S

    Subform year from textbox

    I wan't to user enter only year in form text box and that my query where statement be between 1.1.(year from text box) and 31.1.(year from text box) Is this possible?
  9. S

    Disable add ing new record to subform

    My subform have a value that is neaded for some others values in my main form. I have two tables "Unos" and "Bod". I made query that gave me a value from "Bod" table for column "Vrednost" where id =1. I made a subform based on that value. In my other table wich is my main form i also have...
  10. S

    Disable add ing new record to subform

    I have main forn and on open event i have code DoCmd.GoToRecord , , acNewRec Now i also have subform in my main form. Is there any solution to open only main form in new record and my subform to retain value that it has? Or is there any solution to textbox in my subform go to first record in...
  11. S

    Nine message boxes

    Can you explain me by example what to do because i didnt understand you wery well. :(
  12. S

    Nine message boxes

    I have a code that wont work. If i click add button when all field are null then i see message box for first if function. Then if i fill the first field and left all other field null and click add button i dont see any message box and record is added to the tables. Anyone know why is this...
  13. S

    Update if exist else insert

    THANKS JZWP22. Thats exactly what i need :)
  14. S

    Update if exist else insert

    I have a form with some ID. I have made update query and add query. Now if ID from my form exist in table1 for example, i want to run update query, and if ID from my form doesn't exist in my table1 then run add query. :banghead: Any help guys :confused:
  15. S

    Inner join sum from two tables

    My table2 was empty so i didnt get any value. But now when i add values to my table2 i only get result for table2 but not for table1
Back
Top Bottom