Saturday, February 23, 2008

Whitening Teeth White Spots

CONECTAR A DISTINTAS BASES DE DATOS DE SQL SERVER CON CRYSTAL REPORTS

need to understand the post: have knowledge of SQL Server, Crystal Reports and Visual Basic 6, and be familiar with the connections via ODBC.

seems that, since version 8 or 9, Crystal Reports, there is a problem when changing the database to which we connect when we launched a report, either by using modules or DRC. NET Crystal Reports. I remember having given it much thought at the time, when I had to set an administrator reporting filters and connection information via ODBC (DSN name, driver, host, username and password) so that it was easily configurable . By then loaded (unnecessarily) the data in a RecordSet with SQL Case report and was then assigned CRAXDRT.Report object in question. He believed that the method worked well, until I had to make a small pitcher of reports in Crystal Reports XI runtime and find that always attacked the database that is declared in the report source. After many headaches, and do many silly things, I found the solution to check the SQL of the report (which was the first thing I have done, milk).

seems that from version 8 onwards, came up with the brilliant idea of \u200b\u200bletting you save the information database to which the report was to connect explicitly in the FROM clause of the blessed sentence SQL. So, whatever you do with the connection string of the report, it is enough to find the SQL server that was linked to discard the new information or, if not found, likely to fail without more.

Fortunately, this problem has a solution without touching the SQL statement. Just edit the connection data in tables in the report (either by altering the ConnectionString or ConnectionProperties ) and alter the data source by Location property of the table. Then I leave the source code of a function that can tackle the problem:

Environment used: Visual Basic 6 SP6 runtime with Crystal Reports XI Release 2.
Database: SQL Server 2000. You may also be useful to Oracle.


AplicaCambios Public Function (ByRef crrep _ As CRAXDRT.Report
, strDsn As String, strServer As String, strDb _ As String
, Struan As String , strPwd As String, strDriver As String) As Boolean
Dim i As Integer
esSqlServer Dim As Boolean

AplicaCambios = True

'compared without distinguishing case. _
If this is a report from SQL Server will _
to process the Location of each table.

If InStr (1, strDriver, "SQL SERVER" vbTextCompare) Then
        esSqlServer = True
    Else
        esSqlServer = False
    End If

    For i = 1 To crrep.database.Tables.Count
        With Me . CrReport.database.Tables (i)
Call . ConnectionProperties.DeleteAll

Call . ConnectionProperties.Add ("DSN" strDsn)
; Call .ConnectionProperties.Add("Server", strServer)
            Call .ConnectionProperties.Add("Database", strDb)
            Call .ConnectionProperties.Add("User ID", strUid)
            Call .ConnectionProperties.Add("Password", strPwd)
            Call .ConnectionProperties.Add("UseDSNProperties", False )

            If esSqlServer Then
                On Error Resume Next
                .Location = strDb & ".dbo." & .Location

                If Err.Number Then
                    Call MsgBox ("Error while processing table names:" _
& vbCrLf &. Location & "in passing" _
& strDb & ".dbo." & .Location _
                    & vbCrLf & Err.Number & ": " & Err.Description)

                    AplicaCambios = False
                    Exit For
                End If
                On Error GoTo 0 End If

;
End With Next End Function
'AplicaCambios


Checking the driver does not know if you find it useful, in my case, The program I use to attack by ODBC SQL Server or plain text files, hence did not apply the change of the Location property forever.

Finally, I should mention that one advantage of Crystal Reports XI is not to be processing the subreports since all the tables are located in member CRAXDRT.Report Object Database. I remember that for version 9, it was necessary to go through all the sections to apply the changes.

I hope this helps someone. For suggestions or questions, are available to the comments.

Monday, February 18, 2008

Bally's Personal Trainer Cost

Speed Racer (AKA Meteoro)

remember when I was about 14 or so placed in southern channel in Spain a series called "Speed \u200b\u200bRacer."

Image Hosted by ImageShack.us

The animation was a bit shabby (normal because the series is 1967) and was about a teenager (and not) who drives a sports car a bit special, the Mach 5, running in races all over the world . The Mach 5 was designed by his father, a retired professional racer, and has mechanisms to drive on any terrain and all kinds of obstacles. The pilot called in Spain Meteor will have to use such mechanisms in many cases, it routinely faces unscrupulous competitors and international criminals who try to rig the race.
Meteor
often accompanied by his girlfriend Trixie, little brother Spridle and it's mascot, Chim-Chim (a monkey).

The information I got from the database-layer frozen Here it is link to the page if you feel curious and do not detract from the work that you have written.

The series itself seems to me children and is very outdated as you can see in the intro that I found on Youtube and I have put San below (although I think just look at the first 30 or 60 seconds to get an idea than it was):



Why
Review this series if I feel so crappy? Because the Wachowski brothers (who apparently are now brother and sister and that Larry has been a change of sex on holiday in Thailand and is now called Lana) are making a real picture film in this series and the first trailer has come out is spectacular. The can view and download on the official website of the film is in English but worth it. For those who use firefox and quicktime can not see (at least I can not find the plugin) I recommend downloading that have links next to it so you can enjoy high quality, but if too dogs can see in this link youtube is subtitled English.

As Mathew Fox curiosity out that many people known as Jack in Lost. The cast is full of well known actors like Susan Sarandon , Emile Hirsch, Christina Ricci , Susan Sarandon and John Goodman . According

Yahoo sheet film premieres May 9 this year and I certainly I've marked on the calendar.

Saturday, February 16, 2008

Do Male Models Wax Their Chest

NUEVO POR AQUÍ...

Jelou ebriguan. To maintain the spirit of this blog, I took a little in self-presence because had to make vague, but as to make the tire of vague, here I am.

My full nickname is Mike HippiesDiggingFlowers (HippiesFumandoFlores, for which they have little idea of \u200b\u200bEnglish). This nick has a lot of history behind it: it occurred to me one day to hear a song from the 70 that is titled "Do not dig flowers Hippies (nonsmokers hippie flowers) and I said, how not?; so I took this Nick at the expense of other inventions and children as Pereltoira Vendonabos FurtherMuteTuteFundez.

...

Well, maybe not as much history as I had thought, but what did you expect?, Is a simple nickname netizens.

Anyway, it took time (2 weeks (I love using parentheses)) wanting to have a second blog that was dedicated to information technology, specifically the software and programming. I wanted to present applications than any geek has ever needed, as a mass renamer to rearrange their collections of images porn (c'mon, geeks, we all know that our hard drives are full of files dedicated to the worship of Onan), as well as exposing solutions to problems that novice programmers we often find when entering the working world and, with some difficulty, succeeded in finding a basis of headers and googling.

Basically, my post will be a pestiño.

The fact is that the father of this blog found that married my aspirations in the spirit of it (in fact his words almost verbatim were "working on my blog and help me conquer the world" ... fucking geek) and I has left the door open to do what I want (like a Windows free antivirus juas connected to the Internet (as you see I really like using parentheses)). The idea of \u200b\u200bsabotaging .... Erm, collaborate on another blog I was not unpleasant, so here I am.

Nothing more, now that you know they are going to include my contributions, you can continue to visit your favorite porn sites, but I recommend that picárais in the video that I put below, which is a pretty clean little theme music that comes to hair with the collabor ... estoooo sabotage.


Beastyboys - Sabotage


Read now.

Wednesday, February 13, 2008

Blank Immunization Card Illinois

I'm back

I finished my exams did not give me time to almost nothing so I can finally return to write posts that nobody reads XD.

To start talk about a utility that I put in the right sidebar of the blog, the ZedFreeSMS, allowing you to send 5 free sms daily registering a user account you can do it also from the same program. To do this id "Start / End Session" and you will see an option to register an account if you have not done yet. The SMS will be 100 characters q and the rest are used to add advertising to the final but not look a gift SMS the ehmm ... ... tooth.

We also have a new partner Mike_HDF already self-present and is responsible for conducting post about codes and information.

And to fill the post in which he did not expect anything special that I hang strips of Calvin and Hobbes I've been translating.


Image Hosted by ImageShack.us
By elchicocostra

Image Hosted by ImageShack.us at 02/13/2008 By
elchicocostra 02/13/2008 at

Image Hosted by ImageShack.us
By elchicocostra at 13/02/2008
Nothing
soon post something decent.