Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. PizMac

    error 3027 database or object is read-only

    dhookom - my queries/macros/etc are grouped into custom categories
  2. PizMac

    error 3027 database or object is read-only

    sxschech - trusted location - yes -there are other files in that location (incl. access databasbes) which work without a problem just that file - I have created a new database and imported everything and that is fine - although I can't import the categories? dhookom - yes
  3. PizMac

    error 3027 database or object is read-only

    I copied a database from a colleague and got the above 3027 message. I edited its properties and unchecked (I can't quite remember) a box about "from another machine" - and unblocked it. It is NOT read-only I cannot overcome this and now an older copy that I created is also giving the same...
  4. PizMac

    bug in a left join in Access 2013

    I also checked my original in 2003 and it was correct (i.e. null)
  5. PizMac

    bug in a left join in Access 2013

    thanks Combo - much neater than my solution which involves an extra query etc.. - just a bit worried that this bug might be elsewhere in my systems as well - and you don't know without re-testing all the bits and bobs
  6. PizMac

    How to combine these two elements into a select query 

    I don't understand - if you're doing a sum making nulls or blanks zero will have no effect on the end result? perhaps you meant to count not sum? in which case SELECT Count(IIf(IsNull([Number_2017]),0,IIf(([Number_2017])="",0,[Number_2017]))) AS TotalNumber FROM Tablematch;
  7. PizMac

    bug in a left join in Access 2013

    I have simplified my problem to the basics - 2 queries from a simple table - here is the table:- Input ID ctry 1821 China 1822 1823 China query 1: (IM) SELECT Input.ID, Input.Ctry, 6 AS Pts FROM [Input] WHERE (((Input.[Ctry]) Is Not Null)); result: ID Ctry Pts 1821 China 6 1823 China 6 query...
  8. PizMac

    2013 findfirst not found

    Thanks both - inserting the magic DAO. cured the problem - my code is ancient. and - what are TGML Code tags?
  9. PizMac

    2013 findfirst not found

    yes - myPercs As Recordset - I didn't want to copy the entire sub - it's just a problem with the .findfirst and it works in Access 2003 - but here is the entire function if it helps... Function MissingSects() Dim MyOutput As Recordset, MyInput As Recordset, myPercs As Recordset Dim mySID As...
  10. PizMac

    2013 findfirst not found

    I have converted a 2003 mdb to a 2013 accdb and now my modules won't compile. I get (for findfirst) - "method or data member not found". Do I need new reference libraries or something? code below:- mySQL = "SELECT * FROM [5-4AveSchoolBySector] ORDER BY [SID], [Sect];" Set myPercs =...
  11. PizMac

    reset an empty counter/autonumber to 1 without compacting

    PHV - yes - thanks a bundle - it works !!!! I had previously tried ADDING a counter not altering one and that sometimes gave me the records in an odd order but as far as I can see this has solved my problem - I owe you a drink!
  12. PizMac

    reset an empty counter/autonumber to 1 without compacting

    Sorry PHV - I may have spoken too soon - am testing agian now - will get back to you
  13. PizMac

    reset an empty counter/autonumber to 1 without compacting

    I'd already tried that thanks but it doesn't reset to 1 - if there were 9 records in the table, I delete them, then add more and do the "alter" they still start at 10..... code below:- DoCmd.RunSQL "DELETE * FROM IpDetails;" DoCmd.TransferText acImportFixed, "DSFspec"...
  14. PizMac

    reset an empty counter/autonumber to 1 without compacting

    I have a table with an autonumber/counter which has all records deleted (through code) and I wish it to reload the table starting at 1 (again through code). If I copy and paste the table (structure only) in the database window this has the desired effect but I can't find a way of coding this. I...
  15. PizMac

    Run-time error 3011 when repeatedly opening form which exists

    now in separate module and still "You can't compact the open database while running a macro or Visual Basic code" sigh sigh.......
  16. PizMac

    Run-time error 3011 when repeatedly opening form which exists

    vbaJock - if you're feeling very generous you could upload the form for me to check out any differences? Asking a lot I know... thanks for all the help so far anyway
  17. PizMac

    Run-time error 3011 when repeatedly opening form which exists

    well I just don't know - you must have a magic touch! And - no-one else has it open as I'm currently running it stand-alone on my personal PC
  18. PizMac

    Run-time error 3011 when repeatedly opening form which exists

    vbajock - I've tried it but I get "You can't compact the open database while running a macro or Visual Basic code" I've looked that up and found various postings but it doesn't seem to work for me no matter how I do it - have you actually got it to work?
  19. PizMac

    Setting the range of an existing excel workbook to the first empty row

    you always want to start in A14 ? your e.g. might work - haven't you tested it? I was copying from another excel sheet but can't you just do MyExcelSheet.Range("A14").CopyFromRecordset rs1 won't it insert the full file starting at A14 if that's what you want?
  20. PizMac

    Setting the range of an existing excel workbook to the first empty row

    this is excel 2003 but does it help? NoRowsinMySheet = MySheet.UsedRange.Rows(MySheet.UsedRange.Rows.Count).Row() this will give you the last used row and you can work it from there?

Part and Inventory Search

Back
Top