Microsoft
Software
Hardware
Network
Question : Double Quotes For Access Query Via VB.NET
I'm having trouble executing an Access query via VB.NET. My query works just fine, and produces the results I want in native Access, but when I run the query through VB.NET, I get an empty set.
I know that Access expects double quotes when doing text comparisons like:
1:
WHERE (((dbo_CD_DATUM.is_default)="Y"))
I can only get the query to run via VB.NET when using single quotes for comparisons. My suspicion is that I do, in fact, need the double quotes in my query in VB.NET to produce the right results.
Am I correct here? If so, how can I get the double quotes in my query properly when double quotes are used to denote beginning and ending of strings in VB.NET? Is there some weird character escaping I need to do?
Answer : Double Quotes For Access Query Via VB.NET
try
WHERE (((dbo_CD_DATUM.is_default
)='Y'))
or
WHERE (((dbo_CD_DATUM.is_default
)=""Y""))
Random Solutions
How do I modify textboxes/labels in an asp:repeater footertemplate through javascript (client side)
how to use session variables between servers????
Audit Failure on Windows 2008
OnTextChanged TextBox Issue
Installing Windows 2008 Server R2 on a Dell PE 2850
COMPAQ V6000 HP, WON'T BOOT WITH BATTERY INSERTED, DC BLUE LIGHT PULSES DIM
Microsoft Information Store stalling issues
Asp.Net I am having problem trying to access a page & passing it querystring value.
Migrating SharePoint to another server
A* algorithm 2D snake with obstacles max route