HELP! Newbie needs help with SQL for VB3 
Author Message
 HELP! Newbie needs help with SQL for VB3

Hi Everyone -

Am I glad I found this newsgroup! I'm new to Visual Basic and am trying
to create a small database that would involve two tables. I have a table
with employee info that uses the SSN as the primary key. The second
table contains payroll information and also uses the SSN as the primary
key. I need to link them together so that I can make updates to both, do
cascading deletes, etc. So far, the books I have found don't deal much
with using SQL for VB3 or joining tables so I am throwing myself on your
mercy! Any guidance would be greatly appreciated.

Thanks in advance,

Pete Davini

                       \\\\|||||////
                        \\       //
                         \ ~   ~ /
                       (~  0   0  ~)
  --------------------o000^--V--^000o-----------------------
       Pete Davini                   Heurikon Corporation

            "Some mornings, it's just not worth
             chewing through the leather straps"
                       Emo Phillips    
  ----------------------------------------------------------



Sat, 12 Sep 1998 03:00:00 GMT  
 HELP! Newbie needs help with SQL for VB3

Quote:

>Am I glad I found this newsgroup! I'm new to Visual Basic and am trying
>to create a small database that would involve two tables. I have a table
>with employee info that uses the SSN as the primary key. The second
>table contains payroll information and also uses the SSN as the primary
>key. I need to link them together so that I can make updates to both, do
>cascading deletes, etc. So far, the books I have found don't deal much
>with using SQL for VB3 or joining tables so I am throwing myself on your
>Pete Davini

Sounds like you might need to include something like this in your 'From'
statement.

From Payroll, Employee, Payroll Left Join Employee on
Payroll.SSN=Employee.SSN....

P.S.

The visual basic help files provide a fair amount of sql help also you
can download the knowledge base from Microsoft download
site (ftp.microsoft.com)

Jim



Sun, 13 Sep 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Need Report to look at SQL Data source ( VB / CR newbie needs help)

2. newbie needs help vb3.0 standard and access database

3. VB6 - Newbie needs SQL help sorting using dates in Access DB

4. Newbie: Need Help with Simple SQL!

5. Newbie needs help with DAO SQL Query Problem

6. Newbie: Need Help with Simple SQL!

7. newbie needs help w VB and sql statement

8. Newbie needs help on SQL in VB

9. newbie needs help with sql

10. Newbie needs help with SQL statement

11. newbie needs help w VB and sql statement

12. SQL newbie, need help please

 

 
Powered by phpBB® Forum Software