Dim stDocName As String
stDocName = "rpt_rev_sum"
Dim db As Database
Dim dbf As QueryDef
Dim records As DAO.Recordset
Dim BPDef As TableDef
Dim BPRecs As DAO.Recordset
Dim period As Long
Dim strQry As String
Set db = CurrentDb()...
OK, I'm a little stumped.
Here's the code:
Dim stDocName As String
stDocName = "rpt_rev_sum"
Dim db As Database
Dim dbf As QueryDef
Dim records As Recordset
Dim startdt As Date
Dim enddt As Date
Set db = CurrentDb()
Set dbf =...
Thanks for the reply TLady. Unfortunately that way only worked until I repulled the data.
But your comments made me come up with a solution that I of course couldn't think of until now. Just did a CInt() on the numbers as they came over.
I'm importing some ID's from an Oracle DB into Excel. They come over alright, but when I go into the spreadsheet, there's a little ! next to the cells and says "Number stored as Text" I can then manually convert these to Numbers which fixes the problem. However, I'd like to know if...
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.