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. Muttley

    Word 2002 Spellchecking Language Settings

    Gerry My apologies - for 'template' read 'document' (i.e .we are talking here about .doc files and not .dot). Thanks
  2. Muttley

    Word 2002 Spellchecking Language Settings

    Hi I (and the users I deal with) are UK based, but as part of a multinational company. As a result, we often receive documents that have originated in other countries, created in languages other than UK English. These documents can be used as the source for new documents, which are ostensibly...
  3. Muttley

    I am using an append query to post

    allanon I have managed to sort this one out since posting - can't remember how for the life of me, as this was some time ago, but thanks anyway. Mutt
  4. Muttley

    Newbie needs help with Add records to recordset

    When you are executing your code, what value does your SalesDate object hold? If you're not sure how to do this, either hold your cursor over the SalesDate text, or add the following line to your code before the update statement: debug.print SalesDate You can then view the properties of this...
  5. Muttley

    Security

    Try creating a shortcut and putting the following into the target: "C:\Program Files\Microsoft Office\Office\msaccess.exe" "C:\YourDatabaseDirectory\YourDatabase.mdb" /decompile "C:\YourDatabaseDirectory\YourSecurityFile.mdw" Replacing the placeholders as necessary.
  6. Muttley

    Index name error & cannot open db file - help!!

    thread181-98582 Should work now!
  7. Muttley

    Index name error & cannot open db file - help!!

    Have a look at this thread for some suggestions: thread 181-98582 HTH
  8. Muttley

    MDW File

    Hi I've created a new .mdw file to access my db for security purposes, together with a shortcut that references the .mdw file so that the password prompt only occurs when the users access the db via the shortcut. My problem is that if I try to open a new instance of Access in the normal way...
  9. Muttley

    Please Help ... Setting Security

    I've had the same error sometimes...an alternative approach that may fix it is to create the query using the normal query editor (paste the SQL from earlier into the SQL view), try running the query to see if it runs - that way you can check your SQL. If it works, save your query e.g. qryCheck...
  10. Muttley

    Displaying a button conditionally

    use the 'OnCurrent' event of the form to me.cmdButton.visible = False Hang in there....!
  11. Muttley

    Please Help ... Setting Security

    Sorry Tina, got diverted - try modifying your SQL to say myQry = "SELECT User, Password FROM tblUser WHERE User = me.txtUserName AND Password = me.txtPassword" You were missing the 'me' in your password string
  12. Muttley

    Please Help ... Setting Security

    Try putting a carriage return between If Not myRs.BOF And Not myRs.EOF Then and DoCmd.OpenForm "frmMain_Menu1", acNormal Access treats single line 'if' statements differently than block 'if' statements. You should then be able to use 'Else' rather than 'Elseif' Let me know if any...
  13. Muttley

    Opening Database

    Bummer....here's the URL: http://support.microsoft.com/support/kb/articles/Q273/9/56.ASP It's worth having the above even if it doesn't work in your case...allows you to compact the db without opening it. Cheers Muttley
  14. Muttley

    Please Help ... Setting Security

    Oops, forgot the 'End If' statement - you need to put this after the latter openform statement. Soz!
  15. Muttley

    Please Help ... Setting Security

    Ok here goes: Create your form with the following text boxes: txtUserName txtPassword Create a button and then put the following code on the 'On Click' event; Dim myQry as String Dim myRs as Recordset myQry = "SELECT username, password FROM tblSecurity WHERE username = me.txtUserName...
  16. Muttley

    Opening Database

    I've had similar problems before, not guaranteeing that any of these will work, but you could try the following: 1. I'm assuming that your compact and repair worked OK - if not try using the Jetcomp Utility (downloadable from the Microsoft Developers Website) - let me know if you need the URL...
  17. Muttley

    Displaying a button conditionally

    Try changing the visible property of the button in form design view to Visible = No. HTH
  18. Muttley

    Displaying a button conditionally

    Someone's got their C++ head on..... matpj - Try using ' instead of // for comments
  19. Muttley

    key violation error number?

    Try using the following: Docmd.setwarnings False before you run your query, but remember to make sure that your code (including error handling turns your warnings back on) by using the following: Docmd.setwarnings True HTH
  20. Muttley

    Linefeed in Report textbox

    Joe Thanks a million, that worked great! Muttley

Part and Inventory Search

Back
Top