🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #936

Collegamento dati - Access

#936
From: TheBat ^*^
Date: Sun, 16 Jan 2005 15:41
29 lines
2146 bytes
Ciao a tutti !!

Forse sono un po' OT ma spero che siate cos� gentili da aiutarmi lo stesso.

Sto cercando di sviluppare con VB .net un programma collegato ad un database 
Access. Fino a qui tutto ok. Il vero problema � saltato fuori dovendo 
effettuare un calcolo tra campi di colonne diverse.... mi spiego meglio:

Tabella 1 : Nomi degli operatori
ID     |     Nome e Cognome     |    Data di Nascita    |   ecc...

Tabella 2 : Turni
ID    |    Data    |     n� turno    |     Operatore1   |   Operatore2   | 
ecc... [9 operatori in tutto]

Per ogni giornata ci sono 2 turni
Ogni turno ha come massimo 9 operatori

Ora, come faccio ad avere il totale di turni che ogni operatore (della Tab. 
1) ha effettuato ogni bimestre ?

Ho pensato di inserire una colonna nella tabella 1 con un valore che viene 
incrementato ogni volta che viene aggiunto un turno per quell'operatore ma 
la cosa diventerebbe molto incasinata a distanza di tempo.
Le DataSet, da quanto ho potuo capire, sono strumenti molto utili e forse 
potrebbero esserci di aiuto.... a saperle usare bene !!

Grazie mille per il vostro aiuto !!!
TheBat^*^ 
Technical Details
Message-ID: <KWvGd.699829$35.28164579@news4.tin.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,64e73ceae0a40bbb,start
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail
From: "TheBat ^*^" <fly_now@tiscali.it>
Newsgroups: free.it.visual-basic
Subject: Collegamento dati - Access
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Message-ID: <KWvGd.699829$35.28164579@news4.tin.it>
Date: Sun, 16 Jan 2005 15:41:30 GMT
NNTP-Posting-Host: 82.53.158.58
X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it"
X-Trace: news4.tin.it 1105890090 82.53.158.58 (Sun, 16 Jan 2005 16:41:30 MET)
NNTP-Posting-Date: Sun, 16 Jan 2005 16:41:30 MET
Organization: TIN