Senin, 01 Juli 2019

Re: [MS_AccessPros] Dim Color

 

hi Kevin

Color is Long Integer, not String

have an awesome day,
crystal

free code you can use in your projects
https://msaccessgurus.com/code.htm

On 7/1/2019 3:54 AM, qingqinga@yahoo.com [MS_Access_Professionals] wrote:

Dear All,


I my code is written as follows:


Private Sub Form_Current()

Dim clr01 As String

clr01 = Me.Parent.txt01

Me.Detail.BackColor = clr01

End Sub


After running, it returns error. Please help. By the way, the value behind the txt01 is RGB(0,0,0)

Thanks in advance.??

Best Regards,
Kevin

__._,_.___

Posted by: crystal 8 <strive4peace2008@yahoo.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

SPONSORED LINKS
.

__,_._,___

Tidak ada komentar:

Posting Komentar