Codes de vb

[Fermé]
Signaler
-
 couka4ever -
Bonjour,

Je suis un etudient congolais residant en Afrique du Sud , nouveaux de le monde programming.
J'ai des problemes de code les commandes suivantes (Add,Next,Save,Cancel,Previous et Research). I need your assistance to help me

1 réponse

hey, i'm a first year student myself but i think i can help check out these codes:
for the bouton add:
data1.recordset.addnew
text1.setfocus

for the bouton next:
data1.recordset.movenext
if data1.recordset.EOF then
data1.recordset.movelast
end if

for save (i think , i mean if it means enregistrer):
data1.recordset.update
data1.refresh

for cancel:
data1.recordset.cancelupdate

for previous:
data1.recordset.moveprevious
if data1.recordset.BOF then
data1.recordset.movefirst
end if


well, it maybe too late, but you can't blame me for trying!! oh by the way i'm soukayna from morocco!!

N.B. you should be flexible about the number of the data. you're welcome!!!