Help me Please about adodc1

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2008
Posts: 161
Reputation: ryan311 has a little shameless behaviour in the past 
Solved Threads: 1
ryan311 ryan311 is offline Offline
Junior Poster

Help me Please about adodc1

 
0
  #1
Oct 11th, 2008
i have adodc1 i want to assign pressing f1 is the first data and f2 in next and f3 is previous and f4 is last data can anyone help me? please help me i need it!
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 53
Reputation: hell_tej is an unknown quantity at this point 
Solved Threads: 2
hell_tej hell_tej is offline Offline
Junior Poster in Training

Re: Help me Please about adodc1

 
0
  #2
Oct 12th, 2008
Use Key ASCii Value of That Keys.
Set a Condidtion,"if <Key ASCii>=<Key Code> then ACTION Else ACTION"
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 161
Reputation: ryan311 has a little shameless behaviour in the past 
Solved Threads: 1
ryan311 ryan311 is offline Offline
Junior Poster

Re: Help me Please about adodc1

 
0
  #3
Oct 12th, 2008
can u give me example please?
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 44
Reputation: K.Vanlalliana is an unknown quantity at this point 
Solved Threads: 3
K.Vanlalliana K.Vanlalliana is offline Offline
Light Poster

Re: Help me Please about adodc1

 
0
  #4
Oct 13th, 2008
If Shift And vbCtrlMask And KeyCode = vbKeyE Then
If cmdEdit.Enabled = True Then

I think you want to asign a shortcut key , if so, IN VB, you can write this code in the Form Keydown event, like this:

If Shift And vbCtrlMask And KeyCode = vbKeyF1 Then
adodc1.MoveFirst
ElseIf Shift And vbCtrlMask And KeyCode = vbKeyF2 Then
adodc1.MoveNext
ElseIf Shift And vbCtrlMask And KeyCode = vbKeyF3 Then
adodc1.MovePrevious
ElseIf Shift And vbCtrlMask And KeyCode = vbKeyF4 Then
adodc1.MoveLast
end if


Different KeyBoard Key can assign to Diff shortcut for your form.

I Think this will be helpful to you.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC