Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Tom123456

    Count rows in a db.

    Hello TSSTechie, Yes but can i in code say for example: if(NumberOfRows>5) Then MsgBox "Message" End if - Tom
  2. Tom123456

    Count rows in a db.

    I think this is an easy question for all experts her on the Access forum. Can I count the number of rows in a db? - Tom
  3. Tom123456

    SQL problem

    Thanks a lot!, of course! ;) - Tom
  4. Tom123456

    SQL problem

    If I want to run a sql query from a dropdown list that says a number, in this case a employee id, and I want the result to show in a textbox. How do I implement it? I have the the sql query (Is a SUM query so itr only return one answer) ready but I dont know how to return the value to show up...
  5. Tom123456

    JPG files

    Ohh, I mean the importing image dialog that appears on the screen when an JGP is loading. How do I remove it, I can think that i must be some code. - Tom
  6. Tom123456

    JPG files

    Hello, Is it possible to remove the "loading image window" in a form when the JPG file is loading? - Tom
  7. Tom123456

    Arrays??

    In C++ you can store values in an array like: str[3] = hello; Can I do the same thing in Access? I want to store a customer number and later generate a report. - Tom
  8. Tom123456

    Can't run a query/report based on 2 tables

    Thanks Daniel!!, that helped me a lot. I´m well understod with SQL but when I changed the jointype in SQL view it all went wrong - Tom
  9. Tom123456

    Querys

    Hello all, How do I create a query at runtime and open a form with the result. Example the SQL statement "SELECT Name FROM Persons" open a form frmPersons and show all the names. (The textfield that contain the name can be static in the form). - Tom
  10. Tom123456

    problem with IIF

    Thanks for you help, now I got the IIF to work: Private Sub Report_Open(Cancel As Integer) Dim test test = IIf(checkbox, "match", "no match") MsgBox test End Sub (returns match if checked) But now a second problem arise. I can´t give the textfield...
  11. Tom123456

    problem with IIF

    can´t I do it in the controlsource of the textfield? - Tom
  12. Tom123456

    problem with IIF

    Access doesn´t like the "=" in the begining of the string. And if I remove it Access generates a error like the one above (with the 'First...) - Tom
  13. Tom123456

    problem with IIF

    Doesn't work either. Is my problem that i´m using a textfield in a report? - Tom
  14. Tom123456

    problem with IIF

    I get a error message like this. "syntaxerror in queryexpression 'First([IIF(([Forms]]![F_Order]![[payment]),[[sum]/3),"4000")])'" What means with "First" and all these "[" and "]", excause me for my lack of experience with access but I´m...
  15. Tom123456

    more than 1 page in report

    I have a subform that should be printed in each page, with a header and a footer. You could say that the result should be three pages instead of one. That is three pages that are the same. Does it clearify the problem, thanks for helping!! - Tom
  16. Tom123456

    problem with IIF

    I even get a error message with this one. =iif(3<5,2,3) &quot;The expression contains a non number&quot; (my translation) - Tom
  17. Tom123456

    problem with IIF

    Is still says &quot;wrong syntax&quot;, could it be that it´s in a report? - Tom
  18. Tom123456

    problem with IIF

    Hello all, please help me with this one. Whats wrong with this IIF. (Form!F_Order.payment is a checkbox, [sum] is av value from database) =IIF((Form!F_Order.payment),([sum]/3),4000) This is placed in the controlsource of a textfield. - Tom
  19. Tom123456

    more than 1 page in report

    How do I generate three pages in a report instead of just one?. I want to change a value in each page. - Tom
  20. Tom123456

    I know how I get the value from a c

    Yes, It says that the expression doesn´t contain a value. I use this if. If (getText = &quot;Topic&quot; And Forms!Formname!optionName.Value)... - Tom

Part and Inventory Search

Back
Top