« first day (1154 days earlier)      last day (2026 days later) » 
00:00 - 19:0019:00 - 00:00

12:00 AM
@shadowofsilicon no issue or feature request is too big or too small IMO. Creating an issue doesn't prioritize it. But I'm 99% sure we fix the teardown issues and that one fixes itself automagically.
 
@Mat'sMug So all businesses want to take over and conquer VBA problems?
 
RELOAD!
[rubberduck-vba/Rubberduck] 6 commits. 6 opened issues. 27 issue comments. 6 additions. 6 deletions.
 
Heck, half of @ThunderFrame's issues are crazy edge cases you would never find in real code... right? RIGHT??
Yet they all indicate a problem with X or Y or whatever
 
@Mat'sMug Heck, half the questions on SO are edge cases...
3
 
the other half are dupes..
 
12:03 AM
I wonder how many VBA tagged questions on SO have a comment like "What on Earth are you trying to do?"
 
2.1.2020:
> Rubberduck.Setup.exe (4.58 MiB) - Downloaded 75 times.
Last updated on 2017-07-31
 
@Mat'sMug OK. FWIW, I have a growing list of "papercuts" in regards to the UI, but none are worth reporting until It Has Been Decided if the toolwindows are going to be rewritten or not (and I would assume that a rewrite would also entail a redesign.)
 
@ThunderFrame just looked at that question I was trying to clarify earlier... OP deleted it
@shadowofsilicon WPF toolwindows are here to stay. SlimDucky can shutdown and unload+reload with a WPF ElementHost toolwindow, so RD's issues are elsewhere.
IOW #BringThemOn!
 
Awesome! I didn't want to see them go (and the duckys in them lol)
 
@ThunderFrame #EdgeCasesAreFun
Like I posted at work yesterday.
 
12:21 AM
@Hosch250 There's a reason RD has the best parser...
3
 
 
1 hour later…
1:27 AM
@IvenBach I'd better watch out or you'll catch up with me.
My team is switching to C# 7, and I'm partially responsible for getting the team up to speed.
The company wants to hire me with a start date of Aug. 14.
TTWTD.
 
@Hosch250 Congrats!
 
> Not sure if this is related to issue #3012

This code Fails to parse:
```vb
Sub TestRubberduckParsing()
100 If True Then
102 Debug.Print "True"
104 Else
106 Debug.Print "False"
108 End If
End Sub
```

Also fails to parse:
```vb
Sub TestRubberduckParsing()
100 If True Then
Debug.Print "True"
102 Else
Debug.Print "False"
106 End If
End Sub
```

This code Does parse:
```vb
Sub TestRubberduckPar
 
@Hosch250 congrats mate
 
1:56 AM
@Mat'sMug Can a mock project be setup to be saved? I.e. project.Setup(m => m.SaveAs(@"C:\Users\Rubberduck\Documents\Subfolder\Project.xlsm"));
 
0
A: Public variable returns empty string

ThunderFrameYou're dynamically adding a sub routine to the same module at run-time. That will trigger a reset of the project - Ending program execution, and clearing all variables. If you try manually adding a procedure to a running module (in debug mode), you'll get this warning: But you don't get that ...

 
@shadowofsilicon a mock can be setup for anything you need it to =)
 
I figured as much... then I must keep looking
 
2:15 AM
> Looks like it's the Else statement that's somehow breaking things. I think I see what's going on, the loops and other control flow blocks would be affected... Should be an easy fix (#FamousLastWords)
 
2:35 AM
@Duga @Mat'sMug - glad it makes some sense to you... was driving me nuts for a while ;-)
 
> // 5.4.2.9 Single-line If Statement
singleLineIfStmt : ifWithNonEmptyThen | ifWithEmptyThen;
ifWithNonEmptyThen : IF whiteSpace? booleanExpression whiteSpace? THEN whiteSpace? listOrLabel (whiteSpace singleLineElseClause)?;
ifWithEmptyThen : IF whiteSpace? booleanExpression whiteSpace? THEN endOfStatement? whiteSpace? singleLineElseClause;
singleLineElseClause : ELSE whiteSpace? listOrLabel?;
// lineNumberLabel should actually be "statement-label" according to MS VBAL but they only allow lineNumberLabels:
 
3:35 AM
> Yup:

![image](https://user-images.githubusercontent.com/5751684/28904777-4af8b732-77db-11e7-8542-442fedd02777.png)

Fix on the way!
> Yup:

![image](https://user-images.githubusercontent.com/5751684/28904777-4af8b732-77db-11e7-8542-442fedd02777.png)

<s>Fix on the way!</s> now the fun part...
 
> no viable alternative at input '20 Else'
 
4:05 AM
 
4:18 AM
> Ok.. *fix on the way* 😃

![image](https://user-images.githubusercontent.com/5751684/28905823-3cd445ee-77e1-11e7-8bd0-5cae8d49d923.png)
[retailcoder/Rubberduck] retailcoder pushed 15 commits to rd-next (only showing some of them below)
[retailcoder/Rubberduck] web-flow pushed commit 533c3079 to rd-next: Merge branch 'next' into 3127_RenameCasing
[retailcoder/Rubberduck] retailcoder pushed commit 5346d3a0 to rd-next: works with SLL prediction mode
> The grammar needs to account for line numbers in front of specific tokens - it's highly possible I missed a couple of places you might encounter a parser error caused by line numbers; if so, just create a new issue with a little MCVE like you did, we should be able to easily locate the faulty parser rule.
> closes #3216.
[retailcoder/Rubberduck] web-flow pushed commit 1119e64b to rd-next: Adding link to GitHub PR in tag descriptions
> While...Wend?
[rubberduck-vba/Rubberduck] build for commit 5346d3a0 on unknown branch: AppVeyor build failed
BUILD FAILURE!
> @Stevefb already accounted for, forgot to write a test for it - thanks!
> Also, With statements.
[rubberduck-vba/Rubberduck] build for commit 47da44b1 on unknown branch: AppVeyor build failed
BUILD FAILURE!
 
4:36 AM
@Duga uh-oh
huh
 
@Mat'sMug IIRC, End Sub/Function/Property can also have a line number
 
> The new tests pass, but I haven't seen them fail, and won't unless I revert the grammar changes... ugh.
 
hmm, I think not
tries
 
^ End Sub/Function/Property
 
4:40 AM
oh you're kidding me
Y U SO STOOPID
4
damn VBE
 
Sub/Function/Property are all module level declarations. Module-level Declarations can't have line-numbers.
 
thought End Sub/Function/Property was also module-level
that's a nice place to hide an easter egg actually
nobody will have a line number on the line End Sub is on.... right?
 
except for those vbWatchdog line-number junkies
 
does vbWatchdog even put line numbers there?
I honestly wouldn't have dared
knowing Sub Foo() couldn't have them
 
@Mat'sMug I'm pretty sure VBE's parser scans all of the declarations sections, and the Sub/Function/Property declarations, and then parses the procedures in each module.
 
4:48 AM
yeah. hand-crafted.
 
[retailcoder/Rubberduck] retailcoder pushed commit a027ec25 to rd-next: added more tests. parses line numbers on End Sub|Function|Property.
[rubberduck-vba/Rubberduck] build for commit 47f3063b on unknown branch: AppVeyor build failed
BUILD FAILURE!
 
#TIL #VBA code can have line numbers in front of "End Sub|Function|Property". Anyone doing that? Why? https://t.co/qRzyRVvHRf
 
5:17 AM
[retailcoder/Rubberduck] retailcoder pushed commit 2c91340b to rd-next: revert QualifiedContext non-null MemberName for module declarations
[rubberduck-vba/Rubberduck] build for commit 2c91340b on unknown branch: AppVeyor build succeeded
Parser Fix for LineNumberLovers (#3217)

* removed unused ParserState ctor parameter

* updated assembly version

* fixes #3216

* works with SLL prediction mode

* added more tests. parses line numbers on End Sub|Function|Property.
[rubberduck-vba/Rubberduck] build for commit 7d9584d1 on next: AppVeyor build succeeded
> @Stevefb release 2.1.2031 is here!
 
@Mat'sMug Windows seems to find Rubberduck to be a threat... keeps trying to protect me from it :-(
 
Yup... didn't think to make an issue out of it...
oh... #1741
 
@SlowLearner submit the installer there ^
 
@Mat'sMug Yup trying to do that but... Gah!!! I hate MS. Detection Name is a mandatory field but I am unable to find the detection name by following the instructions here: docs.microsoft.com/en-us/windows/threat-protection/…
 
what threat is it "finding"?
 
Not sure - I clicked through to the run anyway option. Looking at my FULL HISTORY for scans and it is empty...
basically the system does not work
But the good news is that all my line numbers are happy :-)
2
And when I click 'more info' I get this...
OK done - I just used N/A as the detection name... stupid MS
BTW latest release reached 'Ready' status in ~22 seconds
 
5:56 AM
run a scan of your downloads folder
@SlowLearner what was it before?
 
@Mat'sMug I'd need to download an old version to check, new PC etc...
 
but is 22 seconds better or worse than before?
 
I bet it's faster without the line numbers
 
This seems to include Code Inspections as well? Previously I could wait (I think) more than a minute for that
 
6:00 AM
inspections run on every successful parse, unless you've set them not to
also there are now over 50 inspections
 
@Mat'sMug yeah +50 is pretty awesome, no doubt about that :-D Ok... can look at this some more. Reparse takes 22 seconds BUT from the time I open the IDE to I can see the results of code inspections is just under 120 sec. Might be some other stuff going on.. also have MZ-8 running
@Mat'sMug no threats
 
MZ shouldn't be interfering
@SlowLearner dafuq
 
> It seems 0 is sometimes a token because when used in the statements On Error Goto 0 and Resume 0, the 0 is treated as a keyword, and not as a line-label or integer-literal. Whereas a 0 used in On 2 Goto 2, 0, the 0 is a line-label.
 
@Mat'sMug yup... no threats in downloads... it's just blocking you for the fun of it
 
Symantec bribed Microsoft for that. #conspiracy #tinfoilhaton
 
6:09 AM
When does the 1st parse take place, sits on pending... is manual?
 
sometimes it starts automatically (as it should), other times it doesn't, for some reason.
 
OK... NOT 120 secs... If I hit the pending button as fast as my fat fingers let me it takes ~42 sec from the time I press Alt+F11 until Rubberduck reports ready
It does not seem to be automatic for me 5 out of 5 times I had to start it otherwise it just stays on 'Pending'
 
@SlowLearner an empty project goes from Alt+F11 to 'Ready' (with automatic parsing) in ~10 seconds here
 
Hmmm well mine is far from empty - 26.3k lines of code and going down... :-)
 
how many inspection results?
 
@Mat'sMug Out of the box there are:
- language 179
- Maint & Read 74
- Code Quality 393
But, I am expecting there to be a few false positives... I'll document them soon and let y'all know how to reproduce if I can figure it out.
 
> The Rubberduck.Parsing.Preprocessing namespace quite possibly includes a lot of reusable stuff, especially for evaluating If conditions.
 
@SlowLearner we're running short on false positives these days ;-) ...IllegalAnnotation has one, and don't run the quick-fix for MissingAnnotation/MissingAttribute inspection results.
 
@Mat'sMug I'm yet to raise an issue, but I got an inspection for a 2 digit line-number the other day - something like use meaningful line-label.
 
@ThunderFrame IMO line numbers should be at least 3 digits
 
6:29 AM
@Mat'sMug I like the 0 digit ones
2
 
LOL
me too!
 
the only known false positive is IllegalAnnotationInspection, if you don't count the DefType issue with VariableTypeNotDeclaredInspection.
@SlowLearner ^
77 closed issues with "false positive" in them.
TTGTB
 
@Mat'sMug I suspect that search returned some false positives
 
@ThunderFrame lol, it did!
 
</mug>
 
 
2 hours later…
8:59 AM
@ThunderFrame Did the line number have a colon following it?
 
 
2 hours later…
Kaz
10:51 AM
Just a WTF moment today:
Somehow, someone managed to super-position 2 Word tables on top of each other in a document. I was highly confused when I deleted the contents of a cell, only to find them still displaying. Deleted the entire table, and there was an entire other, identical table underneath it.
 
Ctrl+C,Ctrl+V displaces the tables, right?
 
Kaz
@Vogel612 It should, or it should put a table-inside-a-cell that displays in a big, weird, obviously-wrong way.
 
11:11 AM
> @PowerAccess - OK, I came off as (quite) a bit of a jerk there. My apologies.

I've spent quite a bit of time hanging out in [chat](https://chat.stackexchange.com/rooms/14929/vba-rubberducking) with the devs and I know these issues have been a real thorn in their side for quite a while and they're working hard on it. I was feeling rather defensive.

The link to the 2.0.13 release page has the list of known issues right there at the top, so that's why I linked there. The crashing has been
 
11:47 AM
@SlowLearner That's what you get for using Windoze Defender
 
@Mat'sMug I'm on the job! False positives I'm sure I can provide!!
 
Now that is a release note! :)
 
@FreeMan yes my bad, lets call it product testing for the good of RD
2
 
@M.Doerner I think it was with a line number and a label (which must have the colon). Don't have access to PC tonight, will check tomorrow.
 
12:04 PM
TIL that if you have two windows open for the same workbook (View > New Window) and close one while a macro is running, it stops the macro. I should've known.
 
@Kaz Hmmm nice one. I just tried to reproduce that effect by messing around with table wrapping but was unable. Do you have a sample doc that you can share?
@BrandonBarney Even more bizarre... try toggling the Application.ShowWindowsInTaskbar a few times while macros are running... in Word 2010 it can reset variables... :-D
 
^ That's just dirty lol
These are the small bugs within VBA that remind me of its mortality.
2
 
12:19 PM
LOL - yup actually In the immediate window I set it true > false > true a few times quickly and WORD totally crashed... I was thinking ... ah crap I should've saved!!!
 
@BrandonBarney oh... mortality... I was thinking frailty and wondering why you needed to be reminded...
 
It can be pretty flakey at times :-/
 
@FreeMan Because, despite the flawed nature of the notion, there are times when I truly do revere VBA. Likely a symptom of being limited in the ways I can actually deploy solutions to my users.
 
Yeah, but if you're living in it (nearly) daily, I wouldn't think you would need much of a reminder... ;)
 
Kaz
12:22 PM
@BrandonBarney VBA is exceptionally good at what it was created to do.
(As is the whole of MS Office for that matter)
 
on the topic of mortality... it has been speculated for a while that VBA is at the end of its life and to be replaced... lol as if MS would be so silly....
 
^ Exactly, and I dont really use it for things outside of its intended purpose. @FreeMan which is probably why I dont notice the things it does poorly. Its like putting a fish in a fishtank and expecting it to know how big a pond is :).
@SlowLearner I would be curious to see what they would replace it with. If it was a more robust language (proper OOP) I would gladly take it on.
 
Kaz
@SlowLearner MS aren't that stupid.
As long as Excel exists, so will VBA.
 
Yeah... that what I think too
 
howdy, @wqw! nice avatar!
 
12:25 PM
stupid... perhaps not, arrogant?
 
It does remind me of something Bob Martin said. He was giving a talk and was asking about the number of programmers there were at a given point in time, and then he says something like "Except for those VBA programmers. They dont really count." Stung just a little :).
 
wqw
hi all
 
@wqw g'day
 
@BrandonBarney isn't there VSTO or VTSO or something like that?
 
@BrandonBarney I don't really consider myself to be a programmer, especially when hanging around here.... but ouch!
 
12:26 PM
maybe VSOT?
 
^Yeah, but those require installation as well.
I mean a new language that is within the Application itself.
 
that's (not) helpful...
 
Kaz
@BrandonBarney I get very defensive around people who dismiss VBA (and MS, and Office, and Excel especially).
 
@Kaz lol
Visual Studio Tools for Applications (VSTA) is a set of tools that independent software vendors (ISVs) can use to build customization abilities into their applications for both automation and extensibility. Those customization abilities can be used by end-users to tailor the ISV's application within a managed extensibility environment just like Visual Basic for Applications. == History == Visual Studio Tools for Applications was announced by Microsoft with the release of Visual Studio 2005. The first Community Technology Preview (CTP) of Visual Studio for Application was released in April 2006...
 
@Kaz I definitely dont dismiss it. I love it lol.
 
Kaz
12:29 PM
My response is usually, "uh-huh, and how many Trillions of Dollars runs off your software"?
 
^^^^^ that is what I was led to believe would replace VBA in from about office 2007 onwards...
 
Kaz
Followed by "Do you have any idea how hard it is to build software that non-programmers can use"?
Office (but Excel especially) is easily one of the most powerful software applications ever developed.
 
@Kaz Completely agree. VBA in Excel is easily one of the easiest languages I have yet to have to learn.
 
Kaz
@SlowLearner 'Fraid not. It's from work.
 
@BrandonBarney they use ClickOnce installation, which means no admin rights required.
 
12:37 PM
@ThunderFrame How does updating work. New installer right?
I can't just push an update to all users with the installation I mean.
 
Put the VSTO solution in a network share, users install ONCE, then deploy new versions to same network share, and existing users get auto updates.
 
I'll have to put that on a sticky note and give it a shot. That could be useful if I can get admin access to my team's sharedfolder.
 
@Kaz No worries... get that
@Mat'sMug Man... I don't have nearly as many false positives as I used to... ChrB$() and Space$() get flagged as undeclared variables but not much else :-D
 
1:26 PM
Did VSTA come out about the same time as Vista? wonders about naming synchronicity...
 
> Once the code path analysis portion is working, that will eliminate the false positives on things like:

```vb
Sub Test(ByRef setting as String)
DoSomething setting
End Sub()

Sub DoSomething(ByRef setting as String)
setting = "123"
End Sub()
```

That will flag the "Variable could be passed ByVal" inspection in `Test()`.
 
@Duga there's a false positive for ya', @SlowLearner
 
1:54 PM
@Hosch250 Congrats!
 
2:20 PM
> Given:

```vb
Public Sub testErrorHandlerRename()

On Error GoTo EH
Debug.Print 1 / 0

EH:
Debug.Print "I'm sorry, Dave, I can't do that"

End Sub
```

A `Refactor|Rename` yields:

```vb
Public Sub testErrorHandlerRename()

On Error GoTo ErrorHandler
Debug.Print 1 / 0

EH:
Debug.Print "I'm sorry, Dave, I can't do that"

End Sub
```

Interesting to note that while VBA won't compile it, RD _will_ parse it without complaint! _Maybe this should be a
 
@Duga Betcha have no idea what caused me to find this one...
 
Kaz
2:42 PM
TIL:
    On Error Resume Next
    If Len(var) = 0 Then hasMeaningfulData = False
    On Error GoTo 0
If Len(var) throws an error, it will resume next ... at the Then statement.
That was not what past-zak was intending to happen.
Also, apparently, it took 2 years for this particular edge case to occur, so I guess that's something.
 
2:55 PM
@Kaz oh wow - please make an issue for that!
i.e. OERN/OEG0 wrapping up one line of code that. Yeah might be a bit specific... hmm..
 
Kaz
@Mat'sMug If it ends up being relevant, var was a Dictionary at the time.
 
3:20 PM
I think the one-liner If inside a tight OERN/OEG0 can safely be flagged as a bug
or at least as something not executing as intended
@SlowLearner please make an issue for that - also can you confirm that Left$/Right$ are resolving as intended?
 
3:37 PM
> It can't be a parse error; whether the `On Error` statement is valid depends on whether the specified label exists, and the label is defined well after the `On Error` statement - grammatically, there's nothing wrong with this code. Note that RD *does* flag the label as never referred to.

This isn't by design, it was probably an oversight in the refactoring of the *rename* functionality, which definitely can (abd should) handle labels. It's an identifier, it can be renamed, from its declarat
> @retailcoder so... we do have an inspection for "label never used". But do we also have one for "Label reference is undefined"? Or will we just leave that for the VBE to sort out?
 
3:58 PM
2
Q: Guides the User with Prompts to go through a procedure and Records User Input

KeizzerweissI am making a prototype worksheet that follows 9 step problem solving procedure, but I ended up with this really sloppy code. I would like to iterate over some of it instead of making a new code line for every single variant. More or less I need to optimize this code so I can learn how to do th...

 
@Hosch250 You're a long ways ahead of me still. I'm still playing in the 'shallow' end of the pool, and having tons of fun BTW.
There's a lot more for me to learn before I'll feel confident/comfortable enough to consider myself competent at what I'm doing.
@Kaz I had that same issue once in Excel with buttons. Somehow every button was copied 50+ times on each worksheet. If memory serves there were 600+ buttons in the WB total.
@Kaz Does that occur because the If <bool> Then <assignment> could be thought of as 2 separate instructions, just on one line? @Mat'sMug
IE it follows through with the second instruction when the If <bool> barfs out.
 
4:28 PM
@IvenBach yes. and they are two separate instructions
 
:+1: Them warm fuzzies keep flowing.
^ I hope that can help other C# learners. @puzzlepiece87 @FreeMan.
 
@Duga Did I win the "Most Labeled Issue of the Project" award? Yikes!
 
@Duga does not understand GitHub's "star" feature
 
4:44 PM
@Duga @Mat'sMug - yeah, I get the "wipe it out/rewrite it" = 2 steps, but it's still a bit shocking to hit Ctrl-z and see the entire code-pane go blank... I realize that not everybody very few actually read the release notes, but it might be worth it to throw a note about that into the next [master] release. Or... people will figure it out on their own.
 
@Mat'sMug What's your view of public string Name { get { return _name; } } kosher all on one line or preferable on separate?
 
@FreeMan absolutely. Rewriter stuff is post-2.0.13
 
@Mat'sMug "eh?" indeed!
 
@IvenBach one-liner is fine... although I'm starting to like C#6 immutable auto-properties
 
4:46 PM
@Mat'sMug In what way?
 
@Hosch250 waits for @Mat'sMug to start liking C#7 features...
 
@puzzlepiece87 2nd time he stars RD.. And undoes it
 
@Mat'sMug Duh check: public string Name => _name;? I'm still hazy on this stuff.
 
@Mat'sMug Ah! Didn't realize he unstarred. Well, I'll just virtually* unstar him! *since it's to late to actually unstar it. So there!
haz a sad:
2
 
Auto-prop Initializer and Expression-Bodied Properties explanation made another piece click. Just need to remember all these sugary tidbits and use them when I do C#.
@FreeMan How's your C# progress coming?
~.~ GRRRR Can't use C#6 coolness because of C#4 website compiler I'm using.
 
5:11 PM
 
5:48 PM
@Mat'sMug @Hosch250 have you made use of Contract in System.Diagnostics.Contracts before? Is it commonly used?
 
> @daFreeMan This is an entirely different issue, which actually does not really require code path analysis, unless you want to not consider dead code; any assignment outside of dead code should disqualify the parameter for that inspection.
> Oh wait, you mean in test. That is actually basically the same issue as in #2365, which has little to do with code path analysis as well.
> Oh wait, you mean in Test. That is actually basically the same issue as in #2365, which has little to do with code path analysis as well. Still a different issue.
 
@Duga We really should stay on the safe side and not flag a parameter as possible to be passed ByVal if it is passes as a ByRef parameter to any function, property , or procedure.
 
6:13 PM
@IvenBach C#MindNotBlown
 
@FreeMan You're probably not as simple as I am then.
 
@IvenBach well, actually C#NotStarted...
 
I've been able to go through nearly 4 hours of videos so far and understand more than 85-90% of the info. Working through examples and not begging for spoonfeeding, usually.
 
For those who use ADODB, if I create a connection to a database solely to get the fields in that database, is it going to have to load the entire recordset, or is more like a live (and quick) connection?
 
Creating a connection is different than executing a query, is it not?
 
6:19 PM
I am creating the connection and then executing a command on that connection.
(trying to at least)
 
SELECT top 1 * FROM <table> will get you all the fields and only 1 record
 
The fun part is I dont actually have the credentials to test the code with, so I am just duplicating the command string that was there, and then I have to ask someone on the Data Team nicely to run it for me :)
But I dont want to be like "Trust me, it takes less than a couple of minutes" and have his computer stuck for an hour or hours.
 
@Duga @Mat'sMug @M.Doerner - in regards to #2365, most if not all inspection results (in my memory, at least) do not seem to have an "Ignore Once" option. Therefore, if I want to ignore it once, I have to manually add it. I'm OK with doing that, however, I often usually never know the exact name of the inspection to ignore.
It would be great to either have the formal inspection name added to the inspection message somewhere:
or have an Ignore this inspection for this situation option added to the quick fixes for each inspection.
or have a list somewhere of all the inspection names
Seem reasonable? Write up a feature request?
@BrandonBarney if he's on the data team, he ought to have some sort of an idea whether a query will run in seconds or hours... Top 1 will be a pretty strong hint that it'll only take moments.
Or, you could ask him for a copy of the data dictionary so you can get all the column names. :D
 
Yeah, I am hoping they have some way of doing this if I give them all of the connections I need fields for. I just want to have a VBA script ready in case they need it.
 
@IvenBach You should be creating a Wiki page of 'Useful links for those new to C#' similar to the 'book list' page!
2
 
6:27 PM
I tried looping through the PivotFields collection of PivotTables with the connection, but apparently the PivotFields collection only contains used fields.
 
@FreeMan You're right. Any time my mind goes pop I should do a cave-man face smash onto the keyboard and have the RD editors fix it up for me.
 
I'm pretty sure Mat, et al would be more than happy to have you edit the Wiki yourself. ;)
 
6:58 PM
@BrandonBarney @FreeMan has it exactly right, just do a select top 1 * or ask for a copy of the table's data dictionary (if you can't already view it)
Also, a database doesn't have fields, but a table does.
A database has tables.
 
Yeah, I just basically told my boss to ask them for the fields if they absolutely need it.
2
 
00:00 - 19:0019:00 - 00:00

« first day (1154 days earlier)      last day (2026 days later) »