Search results

  1. E

    Form printing- can it be disabled?

    hahaha... thanks bob you've saved some unnecesary typings for me so I'm spending it on you.... Is worth.
  2. E

    Populate data textbox field when data is entered in a separate textbox field

    on AfterUpdate event of of field2: Me.field1=Me.Field2
  3. E

    Help with locking fields after update. Beginner.

    yeah true, but seems that this is not happening as the record is saved only when you leave the curent record and move to the next or by dooing it programatically... the requierement seems to be to lock the controls automatically after the user has entered the data, so the user will stay on the...
  4. E

    More than two Subforms

    sorry pressed by mistake the Post button... anyway the issue here might be your your approach... the subforms works as tree if they are linked trough their parent/child properties. You have also ensure that the subforms are requery-ed every time you are mooving to another record. You can have...
  5. E

    More than two Subforms

    if the tables are used at the moment by you to ype in I guess that the tables are correctly defined...
  6. E

    Help with locking fields after update. Beginner.

    Okay, I think that your problem is that the on current event is not fired you prob want the user to do something else... looking at the form :p . Kidding. Now, Couple of choices... Take the code you have been told and: 1.Determine which one is the last box they are filling and in the OnExit...
  7. E

    Form to enter data for simulation without saving ???

    nothing is simple... as Paul suggested you should create a a teble for temporary operations then save the data source sql in a string variable alter it as necessary then anytime you need a simulation just replace the data source of your form with the string you have modified.
  8. E

    Open form based on listbox selection

    If frmEditContact is not set as data entry or the filter is not disabled, why you are not trying to display the Filter content in a message box by using [] to see what you have passed to frmEditContact and what is in the Me.lboRecent ant the passing time.
  9. E

    'Showing related data on opening a new form' What about getting it all up?

    add a button say btnToggleFilter with the text "Show all" and in the on click event add: select case Me.FilterOn Case True Me.FilterOn = False Me.btnToggleFilter.Caption = "Show initial" case False Me.FilterOn = True Me.btnToggleFilter.Caption = "Show All" end select...
  10. E

    Hot to split data?

    use combination of mid(),left(),Right() to detach and instr() to find [Space] character and val() to convert the results into a number.
  11. E

    Help with Application.Run

    Thanks workmad3 This is what I did... But I was tried to put together something like: Combo values(cboObject): proTransferFtp; proDeleteSomething;funCountResults;frmList;qryAllData Select case left(cboObject,3) case "pro", 'start Procedure Application.Run cboObject...
  12. E

    Help with Application.Run

    Thanks guys! What I want is to be able to execute different Functions and procedures from a form... I will create a module, send it to the users who will import in the DB then will use its Functions and Procedures by selecting them from a combo box. RunCode from a macro runs only functions but...
  13. E

    Help with Application.Run

    I would like to lunch Procedures and Functions within VBA. Looking in Help, Application.Run can do this but I can't make it work. Can anybody post a piece of code which can run a Procedure from a stand alone module in the same database please? Thanks.
  14. E

    DB.Execute Method not working

    Try: DoCmd.RunSQL ("DELETE FROM STOCK_TMP_STORES WHERE StockNo ='" & txtNewStockId & "'") or: CurrentDb.Execute ("DELETE FROM STOCK_TMP_STORES WHERE StockNo ='" & txtNewStockId & "'")
  15. E

    Fresh Ideas Welcome

    Regarding "Multiuser" database.... I would create a logon form and append each logon to a table having an autonumber as ID then I would save this value in a global variable. You can then include this number somewhere in your temporary table name and delete the table if is no longer needed.
  16. E

    Connecting to SQL server without DSN

    Use .adp not .mdb...
  17. E

    Calculating Time At Severities, almost working! :)

    Try to open a recordset and loop between the records or create a query and use the Sevcalc function... if is saved in a module then your function is available in the Expression builder... it will slow down your query but will work...
  18. E

    List box to list box

    Try this: Combo box - AfterUpdate Event 'Transfer Row source if necessary Me.List4.RowSourceType = "Table/Query" Me.List4.RowSource = " ... " 'Refresh the control Me.List4.Requery
  19. E

    Moving pages in a report from a pop up form

    Hi, You can use sendkeys function but what I would do is to transfer the record source to the report from vba or to design a form which will look like a report or something similar....
  20. E

    Lost all modules

    Thanks Travis, The problem is that is not working in Access 2003. Do you know any other solutions?
Back
Top Bottom