If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Visual Basic > Search for data type decimal(18,2) in vb.net

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-05-11, 13:05
wnmichaud wnmichaud is offline
Registered User
 
Join Date: Aug 2010
Posts: 1
Search for data type decimal(18,2) in vb.net

Hi,
I have a table with column code type decimal(18,2) using sql express.

I have a form (visual basic 2005) that searches for code: 2.04.

I run this query
select* from table
where (code=@code)

when you enter 2.04, it returns no value..

Help me on this one..

thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 01-05-11, 14:01
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,075
Please show the source code you're using to query the database.
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On