By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,044 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,044 IT Pros & Developers. It's quick & easy.

Seemingly easy code giving me error

P: n/a
If Me.Priority = "high" Then
Me.SAP_MM.ForeColor = 255
Else
Me.SAP_MM.ForeColor = 0
End If
Sep 11 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Thu, 11 Sep 2008 09:24:59 -0700 (PDT), turtle wrote:
If Me.Priority = "high" Then
Me.SAP_MM.ForeColor = 255
Else
Me.SAP_MM.ForeColor = 0
End If
Are we to guess what the error number and description is?
Or where you placed this code?
Or if Priority is a Text datatype field?
Or is it a LookUp field where the value stored is not text, but a
number?
Or why you are using code instead of the [SAP] control's Conditional
Formatting property?
Or if this is in a Report or on a Form?
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Sep 11 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.