P
Phill
I have a database (Access 2000) that uses ADO to populate
the forms. Quite frequently I get an error saying "-
2147467259 Database currently locked by <me> on <my
machine>". So, as per Q331594 I changed my connection
string from CurrentProject.Connection
to "Provider=MSDASQL.1;DBQ=" & Application.CurrentDb.Name
& ";Driver={Microsoft Access Driver (*.mdb)}". Now my
query to populate the form no longer works (presumably
because I use GUIDs as a primary key). Here is the query
that no longer works "SELECT * FROM tblInventory WHERE
InventoryID={guid {36ECCCC7-3D97-48BC-8BB0-2A4BE89137D1}}
ORDER BY VIN ASC". What is the new syntax and is this
even going to fix my original problem? Thanks
the forms. Quite frequently I get an error saying "-
2147467259 Database currently locked by <me> on <my
machine>". So, as per Q331594 I changed my connection
string from CurrentProject.Connection
to "Provider=MSDASQL.1;DBQ=" & Application.CurrentDb.Name
& ";Driver={Microsoft Access Driver (*.mdb)}". Now my
query to populate the form no longer works (presumably
because I use GUIDs as a primary key). Here is the query
that no longer works "SELECT * FROM tblInventory WHERE
InventoryID={guid {36ECCCC7-3D97-48BC-8BB0-2A4BE89137D1}}
ORDER BY VIN ASC". What is the new syntax and is this
even going to fix my original problem? Thanks