Dapatkan data dari sebuah Akses berkas ke dalam Lembar Kerja Google
Buka basis data Access Anda di Google Sheets dan perbarui kapan pun Anda mau. Tidak perlu unggah CSV, tidak perlu Apps Script, tidak perlu salin-tempel. Sekitar sepuluh menit untuk pertama kali, dan paket Gratis sudah mencakupnya.
Inilah hasil akhirnya
Google Sheet yang menampilkan hasil langsung dari kueri SQL terhadap file Access Anda, dengan tombol yang menarik baris terbaru setiap kali data berubah. Seperti ini:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | customer_id | nama depan | nama belakang | negara | total |
| 2 | 1042 | Maria | Alvarez | Amerika Serikat | 1,284.50 |
| 3 | 1043 | Daniel | Okafor | Amerika Serikat | 612.00 |
| 4 | 1047 | Priya | Nair | Amerika Serikat | 2,090.75 |
| 5 | 1051 | Thomas | Berg | Amerika Serikat | 338.20 |
| 6 | 1056 | Lucía | Ferreira | Amerika Serikat | 1,455.00 |
| 7 | 1060 | Kenji | Sato | Amerika Serikat | 874.10 |
| 8 |
Siaran langsung dari orders.accdbBasis data Microsoft Access adalah file tunggal, biasanya berakhiran dengan .accdb, .mdbGoogle Sheets sama sekali tidak dapat membukanya, dan solusi yang biasa dilakukan adalah mengekspor CSV dan mengunggahnya kembali setiap kali data berubah. Query Streams melewati proses itu: sebuah program pembantu kecil membaca file di tempatnya berada, dan add-on Google Sheets meminta baris yang Anda inginkan. Keduanya tidak perlu berada di komputer yang sama. File dapat berada di komputer kantor dan Anda dapat berada di mana saja: browser apa pun di perangkat apa pun.
Yang Anda butuhkan
The Agent on a computer that can open the file
Sebuah program kecil yang berjalan di latar belakang dan membaca file saat Google Sheets memintanya. Langkah 2 di bawah menunjukkan di mana mendapatkannya.
File Akses Anda
Ketahuilah di mana letaknya, misalnya. C:\Data\orders.accdb atau \\server\share\orders.accdb. If it lives in OneDrive, Dropbox or Google Drive, make sure it is synced to the Agent’s computer.
Komputer mana yang mendapatkan Agen? The one where the file is, or one that can open it from a network share (see Reaching a file on a network share below). That computer needs to stay on. Google Sheets bisa berada di mana saja.: aplikasi ini berjalan di browser Anda, jadi tidak ada apa pun yang diinstal di tempat Anda membaca data.
Hubungkan dalam lima langkah
-
Buat akun Anda
Pergi ke my.querystreams.com dan mendaftar. Pilih Gratis Rencana ini adalah rencana nyata, bukan percobaan, dan mencakup menghubungkan file Access Anda dan menjalankan kueri dari Google Sheets.
Install the Agent on a computer that can open the file



Masuk, buka Unduh, and install the Agent for your system on the computer where the file is, or on one that can open it from a network share. It takes a minute and starts on its own from then on.
Mengapa menggunakan program kecil alih-alih driver? The Agent is one install for Windows, Mac or Linux (about 85 MB on Windows, a little over 100 MB on Mac and Linux) that runs quietly in the background. It makes one outbound, encrypted connection to Query Streams, the same way a browser does, so you open no firewall port and set up no VPN. The file stays where it is, and the rows travel to wherever you are, across the internet if need be. The only thing on your side is the add-on.
Halaman Unduhan menampilkan Kunci Akses AndaTempelkan ke dalam Agent saat diminta, dan tunggu hingga badge terbaca. Terhubung ke Aliran KueriItulah satu-satunya hal yang Anda lakukan pada Agent itu sendiri.
Panduan lengkap jika Anda menginginkannya: Windows, Mac, Linux.
-
Arahkan ke file Access Anda
Kembali ke browser Anda, buka Agen Data (di bawah Data (di menu atas). Agen Anda terdaftar di sana. Klik Tambahkan konektor, memilih Microsoft Access, dan isi:
Satu hal yang perlu diperiksa terlebih dahulu. Komputer Agen membutuhkan sistem operasi 64-bit gratis dari Microsoft. Mesin Basis Data AksesPortal tersebut memeriksanya saat Anda memilih Microsoft Access dan menampilkannya. Unduh mesinnya button if it is missing. If that computer has 32-bit Office, do not install the engine there: If the computer has 32-bit Office. File on another computer? See Reaching a file on a network share di bawah.
- Nama koneksi
- Nama apa pun yang akan Anda kenali nanti, seperti basis data Penjualan.
- Jalur File Basis Data
- Where the Access file (.accdb or .mdb) is: a path on the Agent’s computer, like C:\Data\orders.accdb, or a network path, like \\server\share\folder\orders.accdb, never a mapped drive letter such as S:. Use Browse to pick it.
Klik Uji koneksiSaat terbaca Terhubung, klik SimpanKoneksi akan sampai ke Agen Anda dalam beberapa detik.
Tes gagal? Usually the database engine is not installed (the banner above the form says so), the path uses a mapped drive letter such as S: that the Agent service cannot see (type \\server\share\folder\file.accdb instead), or the path has a typo. A share that turns the Agent away is covered under Test failed on a share? di bawah. Setiap pesan uji dan perbaikannya.
-
See your data in Query Builder Opsional
You can look at your Access file before Google Sheets is involved at all. Open Pembuat Kueri in the portal and pick the connection you just made. The Skema tab lists your tables and columns, and clicking one puts its name in the editor, so you can write a query without remembering exact names. Click Jalankan and the rows appear under Hasil. Query Builder is on every plan, Free included.
On Business plans you can also ask Nova in plain English (“show me customers in the USA”) and it writes the SQL for you. When the query looks right, save it: from Personal Core up it shows in the add-on’s Saved Queries list, and on any plan you can copy the SQL into the next step.
-
Menambahkan Aliran Kueri ke Google Sheets
Buka Google Sheet mana pun, lalu buka Ekstensi → Pengaya → Dapatkan pengaya, cari Aliran Kuerilalu klik MemasangAtau instal langsung dari Aliran Kueri di Google Workspace MarketplaceGoogle akan meminta Anda untuk mengizinkan add-on tersebut; itu normal.
Setelah itu, ikon Query Streams akan muncul di setiap Google Sheet yang Anda buka: ikon di panel samping sebelah kanan, juga tercantum di bawah EkstensiTidak ada proses masuk terpisah. Sistem mengenali akun Google yang sudah Anda gunakan, jadi email yang digunakan harus sama dengan email yang terdaftar di akun Query Streams Anda.
-
Tarik meja pertama Anda
Klik ikon Aliran Kueri di panel samping di sebelah kanan lembar (atau temukan di bawah Ekstensi). Memilih Pengalir Kueri lalu pilih koneksi yang baru saja Anda buat.
Ketik kueri yang ingin Anda jalankan. Kueri ini mengambil beberapa kolom dari sebuah Pelanggan meja:
Contoh · SQLSELECT TOP 100 CustomerID, CompanyName, City FROM Customers ORDER BY CompanyName;
Di bawah Lembar Tujuan pilih tab tempat baris-baris tersebut akan ditempatkan, lalu klik Jalankan QueryBaris-baris data akan muncul di tab tersebut dalam satu atau dua detik. Klik Jalankan Kueri lagi setiap kali data berubah dan tab akan diperbarui secara otomatis.
Tidak tahu SQL? Build it in Pembuat Kueri first and paste it here, or pick it from Saved Queries if you saved it.
Reaching a file on a network share
If the test cannot get to the share, look for these words in its result: unreachable means the Agent’s computer got no answer from the server.
Microsoft Access file on a share? The account the Agent reads with needs Modify permission on the folder, because Access creates a .laccdb lock file beside the database even when it only reads. Do not run the Agent for Access on a computer with 32-bit Office; use a dedicated computer without it. Signing in to the file server · If the computer has 32-bit Office
Test failed on a share?
A Windows Agent signs in to the file server itself, so its test result can also say:
| Pesan | Menyebabkan | Memperbaiki |
|---|---|---|
| Access denied for the agent’s service account under the path, or Akses ditolak in the test result | The share lets in named people only, and the Agent’s own Windows account is not one of them. Or the login stored for that server may not read this share. | Klik Service identity under the path and store a login that can read the share. If one is stored already, ask whoever runs the server to give that account read access. |
| the credentials were refused | The server turned the stored login down: a typo, the wrong domain, or a password changed since it was saved. | Click the account name under the path and type the login again; for an account made on the server itself, leave Domain blank. were refused moments ago means the Agent waits a minute before it tries that same login again, so the account is not locked out; saving a corrected password tries again straight away. |
| Another connector on this agent already signs in to, atau Windows already holds a sign-in to | This Windows computer already signs in to that server as a different account, through another connector or another program. Windows allows one account per server. | Store the login the other connector uses, or change it on every connector that reads that server. After Windows already holds a sign-in, the rest of the message says which account it is and what to do. |
| The agent cannot write to the folder containing the Access database | The account can read the file but cannot create the .laccdb lock file beside it. | Give that account Modify permission on the folder, the same as any Access user has. |
| This agent build cannot sign in to | The Agent is an older version that cannot use stored share logins. | Update the Agent, then test again. |
Itu saja. Data Anda ada di lembar kerja dan selalu diperbarui hanya dengan satu klik. Tidak ada data yang keluar dari jaringan Anda kecuali baris yang Anda minta.
Langkah selanjutnya yang bagus
- Simpan kueri di portal sehingga Anda dapat menjalankannya lagi dengan sekali klik, dari Google Sheets atau Excel.
- Tambahkan filter misalnya rentang tanggal, sehingga kueri yang sama dapat menjawab "bulan ini" tanpa perlu diedit.
- Bagikan hasilnya bersama seorang kolega. Mereka melihat baris-barisnya, bukan file Anda dan bukan jalur file Anda.
Pertanyaan yang diajukan orang
Apakah file Access Anda harus berada di komputer yang saya gunakan untuk Google Sheets?
No. Only the Agent has to be able to open your Access file. Google Sheets runs in your browser on any device. Open the add-on with the same Google account and your connections are there.
Apakah file basis data saya diunggah ke mana pun?
No. The Agent reads the file where it sits and sends only the rows your query asks for. The file stays where it is.
Apakah file tersebut dapat berada di OneDrive, Dropbox, atau Google Drive?
Ya, selama file tersebut disinkronkan ke komputer tempat Agent berjalan, sehingga Agent menganggapnya sebagai file lokal biasa. Arahkan koneksi ke salinan yang telah disinkronkan.
Apakah paket gratis benar-benar mencakup hal ini?
Ya. Gratis adalah paket yang bisa Anda pertahankan, bukan uji coba yang akan berakhir. Lihat detail lengkapnya di sini. halaman harga.
Apakah lembar kerja tersebut diperbarui secara otomatis?
Klik Jalankan Kueri lagi setiap kali Anda menginginkan baris terbaru. Untuk lembar kerja yang diperbarui sesuai jadwal tanpa perlu menekan tombol apa pun, atur Otomatisasi di portal Aliran Kueri (Aliran → Otomatisasi). Fitur ini tersedia di semua paket.
Panduan terkait
Setiap panduan untuk Access
Setup trouble?
- Access engine will not install, the file is on a mapped drive, or Test connection fails? The Access setup page walks each fix click by click → Microsoft Access connector setup
- Agent shows Offline, or Test connection and Browse are greyed out? Check that the Agent is online → Is the Agent online?

