[AccessD] Displaying TAB as [Chr(9)] in a text control

Gustav Brock gustav at cactus.dk
Wed Jul 23 08:58:07 CDT 2003


Hi David

Split the textbox in two and add labels to the textboxes and
reposition these to simulate the tab stops:

  lblStudent.Caption = "Student No.:"
  lblCourse.Caption = "Course:"

  txtStudent: Bind to StudID
  txtCourse:
    =IIf([CourseName] Is Null,[CRICOS_name],[CourseName])

/gustav


> Does anyone know what to do about the little square that appears when using 
> TAB (ASCII 9) in a textbox on a report? If I direct the report to a RTF 
> document the tab translates perfectly to a TAB as itis supposed to, but it 
> will not do it on the report in its natural form. Below is the code Iam 
> using in the text control.

> ="Student No:" & Chr(9) & [StudID] & Chr(13) & Chr(10) & "Course: " & 
> Chr(9) & IIf([CourseName] Is Null,[CRICOS_name],[CourseName])



More information about the AccessD mailing list