Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 13th, 2005, 11:36 PM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to nages76 Send a message via AIM to nages76 Send a message via MSN to nages76 Send a message via Yahoo to nages76
Default VB

In VB6 How to compare / check data in database. when we save, if got data in database message "got data", if no go head. How to do and source code
 
Old June 24th, 2006, 10:14 AM
Authorized User
 
Join Date: Jun 2006
Posts: 73
Thanks: 1
Thanked 1 Time in 1 Post
Default

nages76, your message is pretty scrambled. Could you post again and be more explicit about what difficulty you're having.liamfitz.

 
Old June 26th, 2006, 12:09 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

“VB?” That's the subject line? Who would have guessed that you had a VB question in a Visual Basic forum? Well: Learn something new every day...

There is no built in way to check database data. You have to go through the data and examine each piece, or you have to write SQL that will return meaningful results.

(I am presuming your question is:

Using VB6, how do you compare / check data in database.
For instance, when we save, if we already have data in the database——say a message like "got data"——then do nothing, but if that data is not already present, then go ahead with saving it into the database.
Please explain how to do something like this, and——if possible——provide source code example(s).


Is that right?)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a VB 2005 exe file on a system without VB dilionyi Pro Visual Basic 2005 3 September 21st, 2009 07:37 PM
How do I write this vb 6 code to work in vb 2008? sanderson Visual Basic 2008 Essentials 3 June 10th, 2008 01:46 PM
Crystal Reports 11 from VB to VB.net koushik_b2002 Crystal Reports 2 June 1st, 2008 01:58 AM
convert dsr file from vb to vb.net Shashi001 VB Components 1 September 22nd, 2006 12:24 PM
converting DTS package from VB 6 to VB .NET petroleo Pro VB Databases 0 August 18th, 2003 05:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.