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 TouchToneTommy 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. StarPassing

    security for access 2003 database

    I had same problem. Solved it by creating an install program (in Access) they creates the desktop shortcut. The shortcut must contain the full path to Access (MSACCESS.EXE) and the path to the mde file. Example: "C:\Program Files (x86)\Microsoft Office\Office12\MSACCESS.EXE"...
  2. StarPassing

    Import over 255 to Access 2010

    Excel 2010 max row= 1,048,576 and max colums= 16,384 You should write code to open Excel and copy data you need to the different tables. That is what I do with large Excel files. Tom
  3. StarPassing

    hide database window only show form Access 2010

    Not correct. I use the following code: Const SW_HIDE = 0 Const SW_SHOWNORMAL = 1 Const SW_SHOWMINIMIZED = 2 Const SW_SHOWMAXIMIZED = 3 Private Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As Long) As Long Dim dwReturn As Long Private Declare Function ShowWindow Lib "user32"...
  4. StarPassing

    export table to txt file date error

    Export using a query, not a table, and format the date field in the query the way you want it. Tom
  5. StarPassing

    Microsoft Access VBA SpellCheck in Tables

    It’s been a while, so I take a stab at it. Here’s the way I allow a user to check spelling in the remarks of an inspection checklist. I set focus to the text box holding the remarks. The control source is a field from a table. When the user clicks the “Check Spelling” button, I run...
  6. StarPassing

    Publish Option MS Access 2007

    Check out the help screen on "Publish a database to a SharePoint site". This option is available only if your database is saved in Office Access 2007 format.
  7. StarPassing

    Lock Access database

    To force the user to go to the F drive and download the correct version, simply add this next line below your msgbox line: application.Quit acQuitSaveNone This will close his program. Tom
  8. StarPassing

    Platform independent code to hide the 2007 ribbon

    To hide the ribbon: DoCmd.ShowToolbar "Ribbon", acToolbarNo To unhide it: DoCmd.ShowToolbar "Ribbon", acToolbarYes
  9. StarPassing

    MkDir for more than one sub folder

    Also add in the lines in red or you'll error out because the Application.CurrentProject.Path does exist. Sub myMkDir(strFolderName As String) On Error goto Err_h Dim a, t As String, i As Integer a = Split(strFolderName, "\") t = a(0) For i = 1 To UBound(a) t = t & "\" & a(i) If Len(Dir(t...
  10. StarPassing

    Get Domain Name

    Try this: Function GetData() Dim wshNetWork Dim strUserDomain Dim strCompName Set wshNetWork = CreateObject("WScript.Network") strUserDomain = wshNetWork.UserDomain strCompName = wshNetWork.computername MsgBox "User Domain: " & strUserDomain & vbNewLine & "Computer...
  11. StarPassing

    Migrating to Access 2007 But Keeping 2003 File Formats

    They were running on XP Pro, but we just get upgraded to VISTA Enterprise. Tom
  12. StarPassing

    Find excel file for import

    The code in the link below shows how to pop a dialog box for the user to select a file. It returns the path and file name selected. http://support.microsoft.com/kb/824272 Tom
  13. StarPassing

    Migrating to Access 2007 But Keeping 2003 File Formats

    Like you I was reluctant to move to AC2007. I have a lot large Access 2003 applications and using VBA. All worked under AC2007 using AC2003 file format. And with AC2007, instead of sending reports to the screen or to a file you can send to either in PDF format. Tom
  14. StarPassing

    Excel vba program giving error when running second time...

    You are not closing the instance of excel. Use: oapp.quit
  15. StarPassing

    Where do these files go when "KILL"ed ?

    Check out http://www.cpearson.com/EXCEL/recycle.aspx He gives a good example of vb code.
  16. StarPassing

    Shifting to windows platform

    Just a thought form me. I programmed large and small applications in Clipper for many many years. I choose to convert them all to Microsoft Access. I’ve gone through Access 97, 2003 and now using Access 2007. The learning curve was not that big. Using VBA inside Access is a lot like Clipper...
  17. StarPassing

    Open report with last page

    Check out: faq703-3270
  18. StarPassing

    How to lock records when 2 users r at the sime time in the same record

    Check out the code in Thread705-735830 I use it with a lot of users - no problems.

Part and Inventory Search

Back
Top