Search results

  1. simongallop

    Field "XXXX" cannot be a zero-length string

    Sorry, got distracted whilst answering, I meant Allow Zero Length, the one below it
  2. simongallop

    divide records evenly

    One way, though I would be surprised if it is the easiest, would be to do the following in code: 1/ Count the number of records 2/ Work out how many records per page 3/ limit the feeding query to show the first 16 (for example) records (use the top X command). 4/ Output report 5/ query for...
  3. simongallop

    Field "XXXX" cannot be a zero-length string

    Make sure that the field in the table hasn't got 'Required Yes' in the General properties
  4. simongallop

    Command line utility

    You can create a macro in Access to update the rows and call it from the command line: "c:\program files\microsoft office\office\msaccess.exe" c:\yourpath\yourdb.mdb /X MacroName HTH
  5. simongallop

    Syntax Error in SQL statement

    Try changing the splits of the 2nd/3rd lines and the 5th/6th lines so that you are doing the ..." & _ "... within the string rather than kicking straight into a variable on the new line.
  6. simongallop

    Date formatting

    ="For the period from " & format([Forms]![frmLookupDevFeeBillingRpt]![BeginningDate ],"mm/dd/yy") & " to " & format([Forms]![frmLookupDevFeeBillingRpt]![EndingDate],"mm/dd/yy")
  7. simongallop

    Excel sharing data with access.

    The way to 'link' it is: 1/ Output the query as "MySource.xls" 2/ Open MySource.xls 3/ Open a new excel workbook and call it "MyGraph.xls" 4/ Create the graph in "MyGraph.xls" referencing the info in "MySource.xls" Now you can output the query on a daily basis as "MySource.xls" and when...
  8. simongallop

    Append an export

    Why not change the code of the query to output all quotations for the day?
  9. simongallop

    relating to other fields..

    whats doing the calculation, the VBA code or the textbox?
  10. simongallop

    relating to other fields..

    you shouldn't need focus to assign value to variable so try without the first line and try [Forms]! instead of me (not sure about sunforms whether this work as don't use them!)
  11. simongallop

    relating to other fields..

    try .Value
  12. simongallop

    Extreme figures skewing Avg figure

    Or use the mode or median figure
  13. simongallop

    Should Contain versus Must Contain

    2 column Table (expand code to suit) Table: Case_Data Fields: Case_ID, Name SELECT Case_Data.Case_ID, Case_Data_1.Name FROM Case_Data INNER JOIN Case_Data AS Case_Data_1 ON Case_Data.Case_ID = Case_Data_1.Case_ID WHERE (Case_Data.Name="John Smith"); Basicaly, in the query design select the...
  14. simongallop

    Should Contain versus Must Contain

    Create 2 queries: Query1: Select all records where user name is 'John Smith' Query2: Select all records from table where CaseID = CaseID from query1 HTH
  15. simongallop

    Should Contain versus Must Contain

    How is the data stored? Do you have a table with case and case ID and then another table with userID and CaseID? If so then you can create a query selecting all users where caseID = x. Let us know how you store the data and we can help
  16. simongallop

    Number comparison from a list

    Try this: Set variable Smallest to a ridiculously high number so that it will be replaced by the first textbox value, then you do not need to make Smallest = Num for the first instance. Smallest = 1000000000 For Each control In subfrmRepeats.Controls If control.ControlType = acTextBox Then...
  17. simongallop

    wee bit code...

    You need to open the form ARTScript before you can assign values to the controls. ie somewhere near the top of your code DoCmd.OpenForm "ARTScript"
  18. simongallop

    wee bit code...

    MyRS.FindFirst MySearch
  19. simongallop

    wee bit code...

    Make sure: 1/ That you have Microsoft DAO 3.6 Object Library selected in references 2/ Declare MyRS as DAO.Recordset HTH
  20. simongallop

    wee bit code...

    Where does it fail? PS MyRS.Close ought to be at the end!
Back
Top Bottom