|
-
Oct 28th, 2000, 08:58 AM
#1
Thread Starter
Lively Member
Hi guys,
Lets say i need to display a few fields onto a text box and i have about 50 of them. How do i code the page up/down button.
E.g
Name Tel Address
jax 5454545 JHashdkjsdhkjsdhfkj
lax 5465444 dfgksdiogpdiogpoigpo
PageDown PageUp
-
Oct 28th, 2000, 09:57 AM
#2
_______
<?>
Not sure what the question is?
PageUp/Down Button.
What exactly are you after?
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Oct 28th, 2000, 10:31 AM
#3
Addicted Member
Perhaps he means this:
Code:
-------------------------------------
Dim i As Integer
'With Text1.Multiline = True preset
With rs
.MoveFirst
For i = 0 To 49 ' "50 of them"
Text1.Text = Text1.Text & .Fields(¡°Name¡±) & .Fields(¡°Tel¡±) & .Fields(¡°Address¡±) & Chr$(10) & Chr$(13)
.MoveNext
If .Eof Then Exit For
Next i
End With
-------------------------------------
IHailJoe
[Edited by xmin on 10-28-2000 at 11:35 AM]
-
Oct 28th, 2000, 10:36 AM
#4
Thread Starter
Lively Member
Thanks but my questions are still not answered.
If i only want to display 10 of them at a time out of the total number(this number is not hardcoded)
How would i proceed abt making the page up and down buttons now?
-
Oct 28th, 2000, 10:44 AM
#5
Addicted Member
You don't have to code the page up and down buttons. Just set Text1.Multiline = True (and the Scrollbar property) in designing and you can use the buttons.
-
Oct 28th, 2000, 10:46 AM
#6
Addicted Member
Or you mean to code the buttons so that the text in the textbox scrolls automatically? If so I can not answer that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|