Search results

  1. M

    Ms Access test question

    Hello everyone! Does anyone know how to get rid of Ms Access background window on a DB start up? So the only thing I would see is my MainForm. Cheers!
  2. M

    Security question

    Hi guys! I’ve got a DB security question, and it sounds quite easy, but I stuck with it. The DB on start requests User Name and Password. What I want to do is if a visitor is not the admin, then Menues, Toolbars, Display Database Window, Display Status Bar should NOT appear on a screen. So, all...
  3. M

    Assigning value to Public variable?

    Hi FoFa! Sorry, my fault, I misspeled second line, strSQL the only variable: strSQL = “ SELECT …blah, blah, blah…” Thank you
  4. M

    Assigning value to Public variable?

    Hi guys! I won’t believe it, but I’m having problem when I try to assign value to a Public variable for a Form. In “General Declaration” part I write: Public strSQL as String ‘ this part goes fine StrSQL = “ SELECT …blah, blah, blah…” ‘ this part goes wrong, I get errors How can I assign...
  5. M

    Change OrderBy of a Query

    Hi guys! I’ve got a little task. I have ListBox with ControlSource = myQuery. At some point I need to change OrderBy property of myQuery, in other words I want the ListBox to be sorted by another column just by pressing a button. Is there a nice way of doing that by, let’s say, VBA. So, the...
  6. M

    Row numbers

    Hello everybody! Have a nice question: How to create a field on a form, witch contains a row numbers, for example: RowNumbers Name 1 John 2 Michael 3 Simon etc I...
  7. M

    Size control

    Hi As far as I know, if I set them as popups, than I won't be able to ger rid of them from the screen.
  8. M

    Size control

    Hi everybody! I think many people had similar problem: once I maximise any one Form, then straight after that all other forms maximise automatically. How can I control size of every single Form? Thank you
  9. M

    How to call Sub of another Form

    Hi guys! It's funny, but I try to call Sub of another Form to do some things on that form, but I keep getting messages "Function of Sub is not defined". Does anyone know how to call Sub or Function of another Form? Thank you
  10. M

    Use for double quotes

    Hi guys! Does anyone could explain me how should I use double quotes sings “” in a command lines, for example: If IsNull(DLookup("[WeekID]", "[tbl_Weeks]", "[WeekID] = " & Me![cmb_Week] & "")) Then … I know that was correct syntax, but I can’t get why at the end of DLOOKUP I had to use double...
  11. M

    Refresh Pivot Table???

    the solution The thing is that the solution is DO NOT use the pivot table. What I used is MS Excel to display information and MS Query to create a query. By selection in MS Excel option: Data Range Properties you can set Refresh Data On File Open. That’s it.
  12. M

    Refresh Pivot Table???

    got it I've worked it out! If anybody incounting the problem feel free to reply
  13. M

    Escel Query Refresh

    Hey! Thank you very much! I got your idea, but unfortunately if I do it your way I loose all cell formats I made in Excel. The whole idea is to make the Report look nice. As an example take a look at attachment. The only data changes there are Book Names and all Prices. … any other thoughts...
  14. M

    Escel Query Refresh

    Hi guys! I’ve got a bit tricky question. I have a report where I use Excel query. Every time I need to refresh data I have to open the report in Design view and refresh Excel query manually, which is awkward. Is there any way I could do it by using of VBA or anything else? Cheers
  15. M

    uncomment lines?

    Hi guys! Maybe silly question but does anyone know how to uncomment (disable) sequencing number of lines in VB. To uncomment one line I’d need to use sign ‘ thanks for reading...
  16. M

    recognising variables???

    Excellent! thank you
  17. M

    recognising variables???

    Hi guys! I’m trying to write nice VB code. For example a have ComboBoxes named Book1, Book2, Book3 etc and also I have a Sub, which is suppose to activate different things depending on what Book number is that. The worst thing would be to use Select Case statement. But what if the Sub has...
  18. M

    Refresh Pivot Table???

    COME ON GUYS! SOMEBODY SHOULD KNOW IT!!!
  19. M

    Refresh Pivot Table???

    Hi everyone! The question I’m gonna ask I’ve already seen before, but nobody knew an answer, so I’ll try again: Is there any ways to refresh a Pivot Table without going in to one and pressing refresh button? Thank for reading…
  20. M

    Need advice

    Guys, in one of my report I’m using imported Excel worksheet with query in it, every time I try to refresh it I get following bloody message: The database has been placed in a state by user "Admin" on machine "blah-blah" that prevents it from being opened or locked. Any ideas???
Back
Top Bottom