Page 190 - Discuss Thread Spotting in the Dev Shed Lounge forum on Dev Shed. Thread Spotting Dev Shed Lounge forum discussing anything that doesn't fit into the other forums. This is a place to relax, talk, and even have some friendly debate. Walk softly and carry a big wiffle bat.
Posts: 12,681
Time spent in forums: 5 Months 1 Week 4 Days 2 h 20 m 36 sec
Reputation Power: 8969
Quote:
Originally Posted by medialint
I'll do you one better, try his response here ... Doug had the right answer. I was going to remove it for inanity but I'll leave it up for humor. And it might very well be the same algorithm of "replacing a few words" you mention now that I look at it ... from the correct post above. Heh ... my oh my
Location: Woodland Hills, Los Angeles County, California, USA
Posts: 9,382
Time spent in forums: 1 Month 4 Weeks 1 Day 20 h 34 m 6 sec
Reputation Power: 4080
Yep he's using the same idea in this thread as well. Quoting his reply in case that thread gets deleted.
The original poster who asked the question posted:
Quote:
Originally Posted by fred2028
Hi,
I have a recordset from data pulled in from SQL Server. I'm wondering how I can access specific items in that recordset?
I printed rst.RecordCount and I see there are 9 records. However, if I try to access anything larger than rst.fields(0), for example, rst.fields(1), it gives me an error saying that item is not found in this collection. How would I access the other 8 items? Thanks
Good ol' Micheal replied with
Quote:
Originally Posted by micheal.kolman
Hello,
We have the recordset through files pulled in through SQL Server. I'm wanting to know generate income can gain access to certain objects as recordset?
We produced rst. RecordCount and We discover you will discover 9 information. On the other hand, plainly attempt to gain access to something bigger than rst. fields(0), as an example, rst. fields(1), this offers us a blunder expressing of which merchandise is not within this specific collection. The way would likely We gain access to the opposite 8 objects? Cheers.
Incidentally, I should quote the original thread where I caught what he was up to:
Quote:
Originally Posted by abareplace
You should extract the first subexpression by using \1 or $1 in the replacement text. Depending on the programming language that you use, it will be $1 (Perl) or \1 (Python).
and right below it:
Quote:
Originally Posted by micheal.kolman
You should get the very first subexpression by utilizing \1 or perhaps $1 inside substitute wording. With respect to the coding words which you work with, it'll be $1 (Perl) or perhaps \1 (Python).
Should we keep him here for sheer entertainment value or lower the banninator hammer?
__________________ Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
Yes, I'd say that thread is worthy. Now should I kick a dead horse or hold my tongue...?
It's really a shame that some people react like that to how we respond to questions like this. I wonder if a psychology major has ever thought about writing a Master's thesis on interactions like in that thread...
__________________
Spreading knowledge, one newbie at a time. I'm available for hire at Dynamic Site Solutions.
Location: Central New York. Texan via Arizona, out of his element!
Posts: 8,509
Time spent in forums: 4 Weeks 17 h 53 m 58 sec
Warnings Level: 20
Number of bans: 3
Reputation Power: 3268
;-)
__________________
Functionality rules and clarity matters; if you can work a little elegance in there, you're stylin'.
If you can't spell "u", "ur", and "ne1", why would I hire you? 300 baud modem? Forget I mentioned it. DaWei on PointersPolitically Incorrect.
Last edited by DaWei_M : December 27th, 2012 at 12:54 PM.
Congratulations, you're blocked by our corporate filter for malicious content (or presumably at least netfirms.com is). Hardly anything ever gets blocked, we have a pretty liberal filter. Good work :-)
The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones
09 F9 11 02
9D 74 E3 5B
D8 41 56 C5
63 56 88 C0
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. -- Jamie Zawinski
Detavil - the devil is in the detail, allegedly, and I use the term advisedly, allegedly ... oh, no, wait I did ... BIT COINS ANYONE