What can I set control source equal to?

I want to make it so that my object doesn't have any link to a database, so I use:
myobject.controlsource=null
but that gave me an error, so I tried:
myobject.controlsource=nothing
then:
myobject.controlsource=""
but none of these worked, am I doing something wrong or is there some wierd value I have to set is to?
manly9004Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
NetminderConnect With a Mentor Commented:
Points removed from account and question closed.

Netminder
CS Moderator
0
 
PaurthsCommented:
hi manly9004,

are u talking about textboxes, or something else???
this should work (for textbox):

me.Yourtextbox.Controlsource = ""

cheers
Ricky
0
 
TheNextStepCommented:
Just do not declare a control source at all.  The default is no control source.
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
PaurthsCommented:
what object are u referring too?

if it is a form then it should be :
me.form.Recordsource = ""
0
 
nico5038Commented:
You want to unbind a control dynamically, this is done by:

Me.Controls("<name of control>").ControlSource = ""

Nic;o)
0
 
CJHarrapCommented:
textbox.controlsource = empty ?

Dunno.

Cheers,

CJ.

0
 
PaurthsCommented:
any luck manly9004?
or do u need more assistance?

cheers
Ricky
0
 
costelloCommented:
manly,

can you please explain how you can have the grade of knowledge of Access you are showing here, and be asking questions like this, in the Office area:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=msoffice&qid=20169502
http://www.experts-exchange.com/jsp/qShow.jsp?ta=msoffice&qid=20169553

costello
Community Support Moderator @ Experts-Exchange
0
 
PaurthsCommented:
any luck manly9004?
or do u need more assistance?

cheers
Ricky
0
 
PaurthsCommented:
hello?

do u need more assistance manly?

cheers
Ricky
0
 
costelloCommented:
manly,

in case my last comment was not clear enough...

Sending out points for free between friends in dummy questions like you just did is not allowed on EE, and this is what I am suspecting you off in the 2 a.m. links.

If you don't provide a reasonible explanation, I will delete and undo both questions.

costello
0
 
MoondancerCommented:
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101 or Netminder will return to finalize these if still open in seven days.  Please post closing recommendations before that time.

Question(s) below appears to have been abandoned. Your options are:
 
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> You cannot delete a question with comments, special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click the Help Desk link on the left for Member Guidelines, Member Agreement and the Question/Answer process for further information, if needed.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues, to track all your open and locked questions at this site.  If you are an EE Pro user, use the Power Search option to find them.  Anytime you have questions which are LOCKED with a Proposed Answer but does not serve your needs, please reject it and add comments as to why.  In addition, when you do grade the question, if the grade is less than an A, please add a comment as to why.  This helps all involved, as well as future persons who may access this item in the future to seek help.

To view your open questions, please click the following link(s) and keep them all current with updates.
http://www.experts-exchange.com/questions/Q.20162266.html
http://www.experts-exchange.com/questions/Q.20164079.html
http://www.experts-exchange.com/questions/Q.20164149.html
http://www.experts-exchange.com/questions/Q.20164639.html




PLEASE DO NOT AWARD THE POINTS TO ME.  
 
------------>  EXPERTS:  Please leave any comments regarding your closing recommendations if this item remains inactive another seven (7) days.  Also, if you are interested in the cleanup effort, please click this link http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643

Moderators will finalize this question if still open in 7 days, by either moving this to the PAQ (Previously Asked Questions) at zero points, deleting it or awarding expert(s) when recommendations are made, or an independent determination can be made.  Expert input is always appreciated to determine the fair outcome.
 
Thank you everyone.
 
Moondancer
Moderator @ Experts Exchange
0
 
nico5038Commented:
for manly9004

It's time to clean up this TA, so I will leave a recommendation in Community Support that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 
nico5038Commented:
for manly9004

It's time to clean up this TA, so I will leave a recommendation in Community Support that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.