Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 13th, 2008, 04:49 AM
Authorized User
Points: 493, Level: 7
Points: 493, Level: 7 Points: 493, Level: 7 Points: 493, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2006
Location: gandhinagar, gujarat, India.
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Default Visual Basic

Hi all

I have one problem.I have many tables in one database.I have one field as "VISIBLE" and datatype as "yes/no" in each table.

My reports are also having "Visible" field.I connect my report to access database,some report has answer as "Y" or "N" in visible field and some report has answer as "True" or "False"

how could be possible?

Pls reply me as early as possible

Thanks
monika

Reply With Quote
  #2 (permalink)  
Old May 13th, 2008, 07:04 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,190
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Hi there. Maybe you are formatting the output to look like T/F or Y/N? access store the yes/no datatype as a boolean but you can use it like anything that's looks like boolean (even 0 and 1). In my case, my access values are usually SI/NO (yes/no in spanish). Representation of data is not the same as how the database store it.

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
Reply With Quote
  #3 (permalink)  
Old May 14th, 2008, 01:57 AM
Authorized User
Points: 493, Level: 7
Points: 493, Level: 7 Points: 493, Level: 7 Points: 493, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2006
Location: gandhinagar, gujarat, India.
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

Thanks for yr kind help.

I don't know how or where to set "Y" or "N" in my yes/no datatype field?my lookup is checkbox?

pls help me
how to do that?

thanks
monika

Reply With Quote
  #4 (permalink)  
Old May 14th, 2008, 06:53 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,190
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Well, Y is True and N is False. Why do you mean that you don't know where to set them? the only thing that you have to be carefull about is that checkbox use values 0/1 and in the database will be stored like 0/-1 (or was the other way, anyway one of your values is the opposite you need).

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
Reply With Quote
  #5 (permalink)  
Old April 7th, 2011, 07:49 PM
Registered User
 
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can Somebody help me in visual basic 2010 reloaded 4th edition.

i need finshied source codes for pg. 77 the allen school district, project on page 137, "Crispies Bagels and Bites". the case project on page 203, "Tile Limited". Complete the case project on page 255, "Novelty Warehouse". On page 256 complete the Addition Practice. the case project on page 305, "Johnson Supply".
AND THE ANWERS TO EACH OF THE FOLLOWING
On page 198, complete the Pencil and Paper exercises 1-10.
On page 250, complete the Pencil and Paper exercises 1-11.
On page 297, complete the Pencil and Paper exercises 1-8.
On page 364, complete the Pencil and Paper exercises 1-16.

Thanks ur help will be needed and i would much like to have everything i ask for thanks agin and jus email the source codes to everything. i would like to have it all sent to me at once not a few things form diffrent ppl,
Reply With Quote
  #6 (permalink)  
Old June 16th, 2014, 10:01 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Visual basic

Hi...I'm doing inventory system using visual basic + database. When I click no button for my delete option,the record in my datagridview is deleted but in my access, the data is still at there...May I know why?? Thx...
Reply With Quote
Reply


Thread Tools
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
visual basic 6.0 flowertear Pro VB 6 3 June 28th, 2013 03:16 PM
visual basic khandangoll Beginning VB 6 1 October 6th, 2006 04:05 PM
FTP in Visual Studio 2005 Pro (Visual Basic) shoopes VB How-To 1 June 29th, 2006 02:08 PM
Visual Basic and Unicode Bill_Thompson Beginning VB 6 1 January 27th, 2006 04:24 PM
Visual Basic 6.0 Danielvb VB How-To 1 June 9th, 2003 04:30 PM



All times are GMT -4. The time now is 02:29 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.