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!

Recent content by DBLoser

  1. DBLoser

    Change Connection from DSN to SQL Server in Excel Macro?

    Thanks Dhookom, I think you've helped me in the past and thanks for the link, there's good info on that site. The simplest fix was to just create a new ODBC connection to the SQL server but I wanted to do a DSN-less connection. For now, this worked: With...
  2. DBLoser

    Change Connection from DSN to SQL Server in Excel Macro?

    We're replacing an old AS 400 database with a new SQL database. I've recreated the view in the SQL database but now I have an Excel spreadsheet referencing the AS 400 via DSN connection through a macro. Here is the current connection string: With...
  3. DBLoser

    Possible Many-Many-Many? Or something better...

    MajP, I get what you are saying. I shouldn't treat the revision as a many-to-many; revisions are not stand alone entities. Thanks!
  4. DBLoser

    Possible Many-Many-Many? Or something better...

    I'm building a database for document distribution. Right now I have a many to many relationship between Document and Revision. Document DocumentID (PK) DocumentTitle DocumentRevision DocumentID (FK) RevisionID (FK) Revision RevisionID (PK) Revision I also need to associate each...
  5. DBLoser

    Access 2003 to 2007: Run-time error '3027' Cannot update, Database or object is read-only

    I got this working but had to change the export to My Documents, rather than C:\. Also, the registry hack to allow saving as a .prn extension doesn't work so I had to export as fixed text to a .txt file and then used the Name command to rename the file to .prn Private Sub Export_Click()...
  6. DBLoser

    Access 2003 to 2007: Run-time error '3027' Cannot update, Database or object is read-only

    [bugeyed] Good suggestion but same with or without conversion.
  7. DBLoser

    Access 2003 to 2007: Run-time error '3027' Cannot update, Database or object is read-only

    I tried on an XP machine w/ Access 2007, same error. This should rule out the permissions/ownership issue. I also suspected a corrupt database so I restored it from a backup. It works fine as Access 2000 and I can convert to Access 2003 and open fine in Access 2003. When I convert or open it...
  8. DBLoser

    Access 2003 to 2007: Run-time error '3027' Cannot update, Database or object is read-only

    I just tried changing the .prn to .txt and get a new error. Run-time error '3011': The Microsoft Office Access database engine could not find the object '08142012#txt'. Make sure the object exists and that you spell its name and the path name correctly. When I mouse-over the variable...
  9. DBLoser

    Access 2003 to 2007: Run-time error '3027' Cannot update, Database or object is read-only

    I have a database that worked fine in Access 2003. Now that I'm using Access 2007, it gives a run-time 3027 error. It is breaking down on the DoCmd.TransferText line. I've tried this on multiple computers (XP, Win7) and the file is being saved to the C: drive and I have administrative...
  10. DBLoser

    Access 2007 - add buttons to form but they are not visible in form view?

    I'm fairly new to Access 2007 having recently upgraded from 2003. I have a form and have added buttons to it but they don't show up when I view the form. I tried stacking and ungrouping the buttons but the new buttons still don't appear and their .visible property is set to true.
  11. DBLoser

    IIf Query Criteria - How to Select True, False or Both?

    So does a Yes/No field recognize the value of 1? Or would I change the field type to a list with those three options?
  12. DBLoser

    IIf Query Criteria - How to Select True, False or Both?

    Solved! IIf([Forms]![formMyForm]![frameComplete]=3,False,IIf([Forms]![formMyForm]![frameComplete]=2,True,[myTable]![Complete])) Which means, use whatever value is assigned to the Complete field or another way of writing SELECT ALL.
  13. DBLoser

    IIf Query Criteria - How to Select True, False or Both?

    I have a query with a True/False field and a form with an option group with options 1=Both, 2=True, 3=False. I tried using a nested IIf but am not sure how to code the Both option to select all records. In other words, if option 1 is clicked then select ALL records. If option 2 is clicked...
  14. DBLoser

    Selecting a value in a subform adds a new record to its table?

    I have built a many-to-many relationship via two one-to-many relationships. Table: tblDR Pkey: DRNum Table: tblDRPerson Fkey: DRNum Fkey: GroupID Table: tblGroup Pkey: GroupID Field: GroupName I have a form called formDR with a subform called “Groups subform”. I can select a group via the...

Part and Inventory Search

Back
Top