943,844 Members | Top Members by Rank

Ad:
Oct 11th, 2008
0

Help me Please about adodc1

Expand Post »
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!
Similar Threads
Reputation Points: 3
Solved Threads: 5
Posting Whiz in Training
ryan311 is offline Offline
254 posts
since Jul 2008
Oct 12th, 2008
0

Re: Help me Please about adodc1

Use Key ASCii Value of That Keys.
Set a Condidtion,"if <Key ASCii>=<Key Code> then ACTION Else ACTION"
Reputation Points: 15
Solved Threads: 3
Junior Poster in Training
hell_tej is offline Offline
53 posts
since Apr 2008
Oct 12th, 2008
0

Re: Help me Please about adodc1

can u give me example please?
Reputation Points: 3
Solved Threads: 5
Posting Whiz in Training
ryan311 is offline Offline
254 posts
since Jul 2008
Oct 13th, 2008
0

Re: Help me Please about adodc1

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.
Reputation Points: 10
Solved Threads: 4
Light Poster
K.Vanlalliana is offline Offline
44 posts
since Jul 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Help creating specific macro
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Word 2007 - Reference Images Within Document





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC