Search results

  1. K

    Multiple tables on a form

    assuming that you are using a query as the recordset with a join on the tables then try setting the forms Recordset Type to Dynaset(inconsistent updates). This will work in some situations.
  2. K

    Module that Opens a Excel File

    A further option is to create a hyperlink address on a label, button or in code and follow the hyperlink.
  3. K

    Names of Embedded Queries

    I am not 100%, infact not 50% and may even be giving you total rubbish. I have seen suffixes c,f,d and r and suspect that they may relate to objects and controls, i.e. f = form recordsource, c = controlsource on a form control, r = report recordsource and d = controlsource on a report control...
  4. K

    Focus trouble I think

    use the previouscontrol property. There are examples in Access Help.
  5. K

    Storing Word Documents in Access

    You can set a hyperlink path to the document.
  6. K

    Opening Report from Form - tricky - urgent

    try Dim myCriteria as string myCriteria = "[Id] = " & me![Id] docmd.openreport "myReport",,,myCriteria
  7. K

    how to set focus without highlighting text

    try using selStart and selLength in the OnEnter event of the control, e.g. me![myControl].setStart = me![myControl].selLength
  8. K

    use variable in report header?

    Create an unbound control in the report header. In the header On Format event place your code to process your variable, e.g. If variable = whatever myUnboundControl = "Whatever" else etc.
  9. K

    column names

    Yes. Look at help on the Fields collection.
  10. K

    Trouble Coding A Browse Button

    Infact see Common Dialog posting by andm below.
  11. K

    Trouble Coding A Browse Button

    Use the Active X common dialog control. Comdlg32.ocx
  12. K

    Return value in Function

    Try something like Public Function rstInpt(fldName as string)as Variant your code here to get data etc. rstInpt = whatEverData End Function your call to the function would be x = rstInpt
  13. K

    How do you transfer fields

    On your second Form set the default value of the required fields pointing at the associated fields on the first Form. e.g. =Forms![Form1]![myFirstField] =Forms![Form1]![mySecondField]
  14. K

    Converted 97 code won't work in a new 2000 db

    It may be that you have a missing reference library. Check that Microsoft DAO 3.6 Object Library is ticked. Hope this helps
  15. K

    Form Icon

    From Tools on the menu bar select Startup and complete the Application Icon file path to a bitmap or icon file, e.g. C:\myFolder\myIcon.bmp
  16. K

    opening MS Word

    If you only want to open the document then set a hyperlink to it using a label or button.
  17. K

    carriage space in code

    if you do you mean a carriage return then chr(13) & chr(10) e.g. msg = "Line one of message" & chr(13) & chr(10) & "Line two of mesage"
  18. K

    I need a date....

    There is a function FileDateTime that will acheive this for you.
  19. K

    'There is no object in this control' - Help!

    It may be worth checking that the version number of the comdlg32.ocx on each machine is the same. I have had the same problem in the past. I cannot be 100% sure but I think I just deleted the control from the form and then setup a new control naming it the same etc. Hope this helps
  20. K

    Code to Tab Between form and subforms

    In the last control of the first subform using the onExitEvent type me.parent![QLV].setfocus in the last control of the second subform using the onExitEvent type me.parent![X].setfocus where X is the name of the first control on your main form.
Back
Top Bottom