Automatically show remark comment in textbox

luzz

Registered User.
Local time
Today, 10:42
Joined
Aug 23, 2017
Messages
346
Hello everyone,

How can i show this on the textbox on my form? so that user will not need to keep typing or copy to the textbox and make the adjustment?

1) Please State:
2) Shrinkage: Maximum W: L : Twist:
3) PP sample -
 
Sorry Luzz, I have no idea what you are asking... Can you be more specific?
 
Set the default value of your textbox equal to that
OR use a label with that as a caption
 
Set the default value of your textbox equal to that
OR use a label with that as a caption

i tried using label with that as a caption but it does not allow any editing to be done to it, as i will need to edit some of the text
 
on each Textbox, Property->Default Value, put those values.
 
Sorry Luzz, I have no idea what you are asking... Can you be more specific?

I am asking if it is possible to constantly show
1) Please State:
2) Shrinkage: Maximum W: L : Twist:
3) PP sample -

in the textbox on access form?
 

Attachments

  • Untitled.png
    Untitled.png
    51.9 KB · Views: 120
I encounter error "Too many close parenthesis"
Use quotation mark at the start and end of the text.
Code:
[CODE]"1) Please State: 
2) Shrinkage: Maximum W: L : Twist:
3) PP sample -"
[/CODE]
 
Last edited:
Property->Data->Default Value:

"1) Please State: " & Chr(13) & Chr(10) & "2) Shrinkage: Maximum W: L : Twist: " & Chr(13) & Chr(10) & "3) PP sample - "


another option is on the Form's BeforeInsert Event:

Private Sub Form_BeforeInsert(Cancel As Integer)
Me.Remarks = "1) Please State: " & vbCrLf & _
"2) Shrinkage: Maximum W: L : Twist: " & vbCrLf & _
"3) PP sample - "
End Sub
 
Last edited:
i tried using label with that as a caption but it does not allow any editing to be done to it, as i will need to edit some of the text

The idea of the label method is to place that next to your textbox!
The textbox is still needed for data entry.

Or use the default value property where the text is then overwritten by users when they enter data
 
im sorry Vanes, i forgot your form is Unbound. here is the fix (see Sub showRecord()).
 

Attachments

please see the sample Luzz:
 

Attachments

i made a form frmHidden on the sample db, you should import it to your working db.

test it first. let me know.
 

Attachments

Users who are viewing this thread

Back
Top Bottom