Search results

  1. S

    Message to appear but not stop macro

    Hi all. Can't seem to find a similar thread although I'm sure there must be one. I have a macro that runs update queries when exiting the database. What I'd like to do is display a message whilst the updates are running. However, I only seem to halt the macro until the user clicks the ok button...
  2. S

    Turning current fields into autonumber

    First idea sounds perfect. Will give it a go. Cheers
  3. S

    Turning current fields into autonumber

    Hi all. I have been tasked with replacing an external database in house and obviously the external database has multilpe tables joined by various id fields. I'm assuming when they created the db they were assigned autonumber qualities etc to create unique numbers. However, I can't replicate...
  4. S

    Query based on the text you click?

    If you right click the text field and chose properties there is an 'On Click' option. Here you can tell access what to do or where to go when the user clicks the text. Hope it helps
  5. S

    Multiple Commands in an If Statement

    Excellent - had decided to try that route and got it working. Good to hear I'm thinking like the experts tho. Cheers again
  6. S

    Multiple Commands in an If Statement

    Ok that's working great. I was originally planning to show the results of the query and the user make a mantal note of the eposno and then enter it manually on the navigation form. However, your checkbox idea sounds a much better prospect. How do I do that then. I tried putting a checkbox...
  7. S

    Multiple Commands in an If Statement

    Thanks all. This appears exactly what I need at first glance. Will put it in and see how it goes. Thanks again.
  8. S

    Multiple Commands in an If Statement

    Thanks for replying Gemma. Yeah I guess we can exit the sub aftre the first dcount but it appears to be doing that anyway. My code now is: Dim stdocname As String If knownno <> "" Then Dim int2 As Integer int2 = DCount("[property]", "property", "[known_as] Like '*" &...
  9. S

    Multiple Commands in an If Statement

    Can anyone help please? I have used dcount to check the number of records for a query. If there is more than one matching record then a window pops up allowing the user to identify the correct record before proceeding. If there is only one record then the front end form opens with the data...
  10. S

    Transfer Spraedsheet problem

    Can anybody help please. I've set up a database and built a query to export records to excel. However, it appears to truncate the export at 150 rows. I've run the query in access and it brings back 170 rows. Ideas? D
  11. S

    Changing fields to must populate

    Yeah - I've got it on a form currently and the company want a tick and date. So how do I do it on the form? Cheers D
  12. S

    Changing fields to must populate

    Hi Everyone I need to change a fields properties on a form depending on another fields data. i.e. If a user ticks a Yes/No box saying they've done something they must also complete the date they did it. I can't set the date field in the table to be 'Required' as if ther is no tick then it...
  13. S

    Turn off messages

    I'm building a macro and part of the macro will be to delete a worksheet. How do I code not to say :'You are about to delete a sheet - proceed' message box. Cheers
  14. S

    variable number of columns in sum

    Cheers all Never used address before so will give it a go. Think I've got it working with offset too. Using a hidden cell as the count I've got: =sum(a2:offset(a2,0,newvariablecell)
  15. S

    variable number of columns in sum

    Hi all I'm looking to build a report detailing 12 months figures from opening date. I'm comparing them to budgetted figures. My problem is that the budgetted figures are for a full 12 months so I'm comparing 3 months actuals to 12 months budget. What I'd like to do is tell excel how many...
  16. S

    open form from search

    ok - cheers anyway. I've got access to recognise the current payroll number now but can't set it to equal the query parameter so I'm opening up the main form and pre-populating it with the chosen payroll number. The user just needs to click 'Go' now and it works. One extra step - but the...
  17. S

    open form from search

    Is that the only way? It's a bit messy if the user finds the correct record,makes a note of the number, goes back to the main screen and then picks the number from a dropdown box. I've already got it going back to the navigation screen for them to enter the number as a work around. Thought...
  18. S

    dcount()

    Thanks - will give that a go. Everybody else on this forum sems to be told to use dcount and reply that it works. Must be me.
  19. S

    make fields active

    Excellent - it works from the call procedure too. Thanks
  20. S

    make fields active

    Ah There be my problem then. If the user opens the same form via another route then I want a different field to be the active one. Could I do it from the call procedure?
Back
Top Bottom