Recent content by SuzieGirl

  1. S

    Reports with subreports and if statement

    Create an unbound subreport, then at runtime set the 'sourceobject' property to whichever report you want to show. Think you need to assign design permissions to the users for the main form though.
  2. S

    Type mismatch (Error 13)

    I think that the 'Int' should be around the recordset field, rather than the whole bit, and also use 'CInt' instead of 'Int' i.e., RndRecord = (Cint(rst.RecordCount) * Rnd) + 1 Cint converts the expression to an integer type.
  3. S

    Type mismatch (Error 13)

    I think that the 'Int' should be around the recordset field, rather than the whole bit, and also use 'CInt' instead of 'Int' i.e., RndRecord = (Cint(rst.RecordCount) * Rnd) + 1 Cint converts the expression to an integer type.
  4. S

    How can I jump to a specific record in a subform

    Is the subform recordsource based on a query, which takes as a parameter the work order number from the main form, or are you using a filter to say what record you want to display on the subform?
  5. S

    Filename with spaces in the 'Shell' function

    I'm trying to use the shell function to open files, which works fine, as long as there aren't any spaces in the directory path or filename, in which case, it seems to be trying to open each section as separate files, i.e., "C:\my" then "documents\images\a" then "file" then "name.txt", for...
Back
Top Bottom