Hi
I have a Windows Form running in 40 clients around the city, those apps are
communicating with a central SQLDB hosted in a hosting company (each one is
sending data, waiting for data comparisons and receiving the data back). I
have been using a Web Service to make the link between my apps and the SQLDB
,
but now I want to connect my Windows Form apps directly to de SQLServer
(because I think the roundtrip is going to be faster, which is the most
important factor in my app)
My question to the architects and everyone:
Is this a good, secure, recommended, intelligent practice or this is a big
big mistake '
thks
kengood - Prototype it and see. Depends on the specific case usage and
implementation. You may find that the old style tightly coupled connection
is faster.
secure - Unencrypted xml is easier to intercept and read than unencrypted
native sql network calls. Using an encrypted protocol, it makes little
difference between the two.
recommended, intelligent practice or this is a big big mistake - Consider
the above and decide based on your requirement priorities.
"Kenny M." <KennyM@.discussions.microsoft.com> wrote in message
news:72C3EF9C-7DF4-4C85-A43B-8CE0C5E63388@.microsoft.com...
> Hi
> I have a Windows Form running in 40 clients around the city, those apps
are
> communicating with a central SQLDB hosted in a hosting company (each one
is
> sending data, waiting for data comparisons and receiving the data back). I
> have been using a Web Service to make the link between my apps and the
SQLDB,
> but now I want to connect my Windows Form apps directly to de SQLServer
> (because I think the roundtrip is going to be faster, which is the most
> important factor in my app)
> My question to the architects and everyone:
> Is this a good, secure, recommended, intelligent practice or this is a big
> big mistake '
>
> thks
> ken
Showing posts with label clients. Show all posts
Showing posts with label clients. Show all posts
Sunday, March 25, 2012
Sunday, March 11, 2012
Applying a diagonal line in a report
My client cannot workout how to apply diagonally aligned text on a report.
We need to apply the text on statements and invoices to alert the clients to accelerate their payment, or notify them of account issues.
Could someone please tell me where I could find the information required to do this so I can forward it to the client.
I don't know how to do this, but this concept is typically referred to as adding a "watermark". HTH your searching for an answerMonday, February 13, 2012
Apostrphe Usage
How do you allow clients to enter text that contains an apostrophe?
Thanks!since the udfunctions were invented, it's not more a problem.|||...my clients are having trouble entering data if it contains apostrophes. Here is the code that they are using:
sql = "INSERT INTO TrainingData (PartID, TrngDate, TimeDay, Effort, UnitMeas, Partners, Comments, DateSubmt) "
sql = sql & "VALUES (" & Session("partid") & ", '" & CDate(strDateRun) & "', '" & Request.Form("ampm") & "', " & CInt(strEffort)
sql = sql & ", '" & strUnitMeas & "', '" & Request.Form("partners") & "', '" & Request.Form("comments") & "', '" & Date & "')"
Set rs = conn.Execute(sql)
Set rs =Nothing
If the comments or partners field contains an apostrophe, we seem to have a problem. How should I modify my code?
Thanks for your time!!!!|||If you need to insert apostrophies in SQL, make it a double apostrophie.
Like...
Insert into Table (Field1) Values ('That''s That')
In VB, just use:
Replace(sSQL,"'","''")
Works like a charm
Hope this helps.
Thanks!since the udfunctions were invented, it's not more a problem.|||...my clients are having trouble entering data if it contains apostrophes. Here is the code that they are using:
sql = "INSERT INTO TrainingData (PartID, TrngDate, TimeDay, Effort, UnitMeas, Partners, Comments, DateSubmt) "
sql = sql & "VALUES (" & Session("partid") & ", '" & CDate(strDateRun) & "', '" & Request.Form("ampm") & "', " & CInt(strEffort)
sql = sql & ", '" & strUnitMeas & "', '" & Request.Form("partners") & "', '" & Request.Form("comments") & "', '" & Date & "')"
Set rs = conn.Execute(sql)
Set rs =Nothing
If the comments or partners field contains an apostrophe, we seem to have a problem. How should I modify my code?
Thanks for your time!!!!|||If you need to insert apostrophies in SQL, make it a double apostrophie.
Like...
Insert into Table (Field1) Values ('That''s That')
In VB, just use:
Replace(sSQL,"'","''")
Works like a charm
Hope this helps.
Subscribe to:
Posts (Atom)