Search results

  1. Mile-O

    Form BackColor

    You're looking for the Detail.BackColor property.
  2. Mile-O

    Newby in distress

    On top of what plog says (and once you've looked into normalisation), I think I'd be inclined to create something along the line of a Behaviours table, whereby you can record these things. That way, you can do something concrete with the records (count by day, week, month, year, etc.) which you...
  3. Mile-O

    Text highlighting

    Look into the SelStart property of, say, your textbox.
  4. Mile-O

    Calculation through VBA

    Copy and paste it into a module. Then in your query, just type in as a new field, passing your value in. So: MyValue: GetValue([YourFieldName])
  5. Mile-O

    Calculation through VBA

    There will no doubt be a neater way of doing this, but I'm half-asleep and brain isn't fired up. But this will work: Public Function GetValue(ByVal dblValue As Double) As Double If dblValue > 100 Then GetValue = 100 * 5.79 dblValue = dblValue - 100 Else...
  6. Mile-O

    Calculation through VBA

    And if it goes to 400 or 500, is there any rate for that? Or is it just everything over 300 gets the final rate applied?
  7. Mile-O

    logged in person on all forms?

    Are the users logging in via the same or separate machines?
  8. Mile-O

    Here's one for all the Forum Guru's...

    When I joined this forum I was just starting out in Access. Think my first post was trying to figure out where I was going wrong with a calendar. From there people would say read on normalisation, etc, and I did.
  9. Mile-O

    DLookup problem in Form.

    Here's one for your learning curve: get out of the habit of using default control names. Combo31 is meaningless. And you may come to the database in future, find a reference to it, and wonder what the hell is going on. Give your controls names. Even better, give it a prefix and a name. I use...
  10. Mile-O

    DLookup problem in Form.

    Listen to the other guys. I answered your question, they have provided a more robust solution. Effectively, have a query be your RowSource for your combo box. So, for example, select CCode and CCompany in your query (order CCompany as Ascending) and save the query. In your combo, set the...
  11. Mile-O

    DLookup problem in Form.

    Would also suggest wrapping the DLookup with the Nz() function, just in case it returns a Null.
  12. Mile-O

    DLookup problem in Form.

    CCode is a string and not a number. Therefore you need to use the correct delimiter. strFilter = "CCode = """ & Me!CCode & """"
  13. Mile-O

    Can this site give php help?

    Two years on, they've either had it solved or given up.
  14. Mile-O

    Adding maximum amount of login attempts

    I should say that I also echo the needlessness of doing this. Just showing the way, regardless.
  15. Mile-O

    Moving a window

    Why interfere with the user's choice to organise their screen estate as they wish, window-wise?
  16. Mile-O

    CREATING DROP-DOWN LISTS ON QUERIES

    Yes. You just bind the query to the report's RecordSource property. Plus use a macro or VBA to open the report on the command button's click event. Well done in resurrecting a fourteen year old post.
  17. Mile-O

    Unit Stake / Rounding Calculations....

    You want to look into the FLOOR and CEILING functions.
  18. Mile-O

    logged in person on all forms?

    Google fOSUsername() by Dev Ashish.
  19. Mile-O

    Adding maximum amount of login attempts

    Not going to work, as every time the button is clicked, intLoginAttempt will be redimensioned and will be 0. Replace Dim with Static, though...
  20. Mile-O

    text box to show time taken

    I'm such a meta-data collector in my databases. I like to know what users are up to, how they use my database, etc. An example of how I would use something like this is to record average time spent on a form. If the average time is unusually high, it may pose questions such as a) are people...
Back
Top Bottom