Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2002
    Posts
    3

    Unanswered: need help setting text in text box

    i have a text box on my report that currently does not have a control source. in the on format event for the detail section of the report i have a string that i'm trying to display in the text box. everytime i try to set the string as the text for the text box it won't let me because the text box doens't have the focus, and i can't even set the focus to the text box. and when i try to set the control source to the string it tells me you can't set the control source after the control has started printing.

    any suggestions would be greatly appreciated!! anyone else ever encounter this problem??

    -mike
    mikednova@hotmail.com

  2. #2
    Join Date
    Jul 2002
    Posts
    15
    I had that problem before. I doubt I fixed it the only was possible, but what I used was a label and displayed the information on the label. You set what will be displayed on the label by

    labelname.caption = "label information"

    If there's no other way you can find, maybe this can work for you.

    ~ Jill

  3. #3
    Join Date
    Jul 2002
    Posts
    3
    hey thanks that worked great!!

  4. #4
    Join Date
    Jul 2002
    Posts
    22
    You can also set the control source of the text box to some function like fncGetData() and then inside that report define that function. This way is better if u need to do some heavy calc's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •