Recent content by MHM

  1. M

    Handling a Running Total

    Hay Annie, looks like a query question: Imagine you found the right kind of function for your query taking "other times" into consideration - would that solve the problem? The function may be found in the section "DomainFunctions" (in the expression editor). So one of the field contents of...
  2. M

    Stability Experts: Registry Settings for Access - Documentation?

    How to change the registry-properties ExclusiveAsyncDelay FlushTransactionTimeout ImplicitCommitSync Lock Delay LockRetry MaxBufferSize MaxLocksPerFile PageTimeout RecycleLVs SharedAsyncDelay Thread UserCommitSync in a way getting a maximum of...
  3. M

    Telephone Call

    Hi Haytham, ..really got into loads of work! Telephone functions are available at the CAPI-drivers commonly delivered with ISDN-equipment. Try looking at a Visual Basic newsgroup! Mic
  4. M

    Error msg "he expression you entered has a function name that can't find"

    Hey ibsmith, one query in your database or a certain code asks for that function - or one of the events in a certain form is not set to nothing/EventProcedure, but instead a function name, which the system is not capable to find. Check all functions in the modules or try to start the database...
  5. M

    Bit of a Problem...

    Try to learn more about creating reports in MS-Access! (or ask your question there instead of using the Modules & VBA section)
  6. M

    ApplyFilter question

    At the Form_Open event data is not yet load. Maybe you use the Form_Load event. Or type me.Filter = "ID<100" ' e.g.: <100 me.FilterOn = True
  7. M

    Create Table

    Hi rasul, change to: ... (ID Autoincrement, ... Mic
  8. M

    using seek

    Hi Bretti, probably you haven't set .Index to the right or an existing index. Escpecially be careful about using index-names: When changing a field name, the index is refered to with the old name, its name can't be changed is Access directly. Mic
  9. M

    Bookmarks, when transfering data into word

    Hey Anna, you've done it all right when working like this. I hope you declared doc as Word.Application. Then you can go on: doc.Selection.GoTo What:=wdGoToBookmark, Name:="NameOfBookmark" doc.Selection.InsertAfter Text:="myText" Mic
  10. M

    Using code to validate existing data

    Your check must be changed: Set dbsTimesheet = CurrentDB ' referencing the DBEngine instead of opnening a new one and then: If .NoMatch Then rstMyUsers.AddNew ' UserId = Text10 Name = MyName Surname = MySurname rstMyUsers.Update You need (!) to leave rstMyUsers!UserID without value - it will...
  11. M

    How to run VBA program automatically from database

    or write any Autoexec-macro containing "RunCode..." calling any public function (like "configuration()" )in your database Mic
  12. M

    Class Modules ???

    hey skip, probably there is only one way: Apply for changes in the tabCrl at Microsoft's! I suppose you insert a form_Load procedure storing the original value of the tabCrl (as class-variable in the header of the form's class module). After every change (tabCtl_OnChange()) you set it to the...
  13. M

    looking into another db for an object

    I'd look into the other db with DAO: set db=Workspaces(0).OpenDatabase("FileName") on error goto tableNotFound if isnull(db.TableDefs("TableNameToSearchFor").Fields(0)) then ' empty endif MsgBox "Table does exist." Exit sub tableNotFound: MsgBox "Table doesn't exist." Exit sub Mic
  14. M

    store procedure

    Do you need to create a "stored procedure" on an MS-SQL-server? Or do you just want to pass that SQL-string to a queryDef? Normally you use SQL to do: set RecordSet=myDatabase.OpenRecordset(strSQL) Does this help?
  15. M

    Adjusting Table Column Field Width from VB

    Hey Big Jim, if you've got enough Big experience with Access - as I assume, Jim - you never let customers or all-day-users get to tables. You'll always keep them at forms or reports - so set table column widths in your forms. Mic
Back
Top Bottom