Viewing 10 posts - 16 through 25 (of 25 total)
think I might be onto the problem..... in researching the error with currentproject.connection I'm seeing that it "might" have something to do with the connection to the database. I found...
March 11, 2010 at 9:06 pm
just as an aside, I attempted to do this through pure SQL with this:
Public Sub Doit()
Dim strSQL As String
strSQL = "SELECT requests.lastname, requests.firstname, requests.star, requests.seniority_dt, requests.reqdate,...
March 11, 2010 at 6:12 pm
wow...
I can't begin to tell you how much I appreciate the time you must have spent figuring this all out.
If this is what it takes to accomplish the task I...
March 11, 2010 at 6:03 pm
and as I stare at that code I see it is nowhere near doing what I thought.
March 11, 2010 at 3:39 pm
And I then tried this:
Public Sub Run_Click()
Dim strSQL As String
strSQL = "SELECT Requests.REQDATE, Requests.REQTIME " & _
"FROM Requests;"
...
March 11, 2010 at 1:39 pm
arghhh.... so since I apparently can't call a module from inside an On-click sub I decided to insert the two routines into the same sub:
Public Sub Run_Click()
Dim strSQL As String
strSQL...
March 11, 2010 at 12:47 pm
ok that got me closer!
It attempts to run but I get a Compile error:
Expected variable or procedure, not module.
March 11, 2010 at 12:19 pm
Ok, still a bit stymied. I have 2 Modules:
FindTop2:
Public Sub FindTop2()
Dim strSQL As String
strSQL = "INSERT INTO Assignments " & _
...
March 11, 2010 at 9:25 am
taking a break... I'm tryin' to do as much of this as I can without bothering you guys to design specific code for me.
I now have two modules, one that...
March 11, 2010 at 7:16 am
Hey thanks for taking a look.... if I understand your first link correctly you want to see the SQL for the table creation, some sample data and what I need...
March 10, 2010 at 4:50 pm
Viewing 10 posts - 16 through 25 (of 25 total)