Here's the code.
Set Db = OpenDatabase("d:\GSE_GEO_INFO.mdb")
Set RsSt = Db.OpenRecordset("tblStateCodes", dbOpenSnapshot)
Set RsMsa = Db.OpenRecordset("tblMsaSelect", dbOpenSnapshot)
Do Until RsSt.EOF = True
cboSelState.AddItem (RsSt.Fields("StName").Value)
RsSt.MoveNext
Loop...
A quick question. I'm attempting to load a VB form with data from an Access DB. This works fina as long as my database is on my c: drive. If I try and open it from d: drive(CD) I get 3051 Run time error. Which basically says VB thinks the database is already in use exculsively by another user...
I can correct the table issue. But then I'm going to have to pass a number of strings for filters so the query does what I want.
Anyway my tables will consist of company, state, msa, serv, tract, year as my filter and grouping fields. The rest of the fields will be summed, etc.
My query will...
I fairly new to this. However here goes. What I'm trying to do is pass a string to a query. Let's say to point to the correct table for the query to use to update another table. Then execute the query. Is this possible?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.