473,320 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ChangeRegister?

hello,
Private Sub Hide_ShowChangeRegister(val As Boolean)
Me!ChangeRegister.Visible = val
Me!Save.Visible = val
End Sub
what does the line Me!ChangeRegister.Visible = val do? i couldnt find
any information about ChangeRegister in VBA??

gretts
reinhard
Nov 13 '05 #1
2 1291
ChangeRegister is the name of a control on your form, that's why you
couldn't find it in the help file. Whoever made the form named the controls
on the form with the same names as the fields in the form's recordsource.

What this sub does is displays the controls ChangeRegister and Save when the
val = True and hides them when the val = False.

"reini" <so****@gmx.at> wrote in message
news:14*************************@posting.google.co m...
hello,
Private Sub Hide_ShowChangeRegister(val As Boolean)
Me!ChangeRegister.Visible = val
Me!Save.Visible = val
End Sub
what does the line Me!ChangeRegister.Visible = val do? i couldnt find
any information about ChangeRegister in VBA??

gretts
reinhard

Nov 13 '05 #2
so****@gmx.at (reini) wrote in
news:14*************************@posting.google.co m:
hello,
Private Sub Hide_ShowChangeRegister(val As Boolean)
Me!ChangeRegister.Visible = val
Me!Save.Visible = val
End Sub
what does the line Me!ChangeRegister.Visible = val do? i
couldnt find any information about ChangeRegister in VBA??

gretts
reinhard


ChangeRegister is the name of a user defined control on the form in
which your code is copied from. It may be a textbox, or more likely
a listbox or subform. being user defined, it would not appear in
VBA Help files.

What it does is set the visible property of the control to yes or
no, as determined by whether the call of the sub procedure includes
yes or no, or synonyms true or false, -1 or 0.
--
Bob Quintal

PA is y I've altered my email address.
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: reini | last post by:
i have a problem with an db&vba which was written by someone else, but i have to work on it now. there is a form opened by a vba and instead of the form there is only a white/grey form without...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.