G
Guest
i need to create a new control source so that i can bind it to a new topic.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
PC Datasheet said:Me!NameOfControl = "NameOfControlSource"
Note - the name of the controlsource must be in quotes as shown.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Over 1100 users have come to me from the newsgroups requesting help
(e-mail address removed)
PC Datasheet said:Hey Simple Simon, you'r an ignorant bastard!!!!
From the help file ---
The following example sets the ControlSource property for a text box named
AddressPart to a field named City:
Forms!Customers!AddressPart.ControlSource = "City"
The next example sets the ControlSource property for a text box named
Expected to the expression =Date() + 7.
Me!Expected.ControlSource = "=Date() + 7"
BillCo said:again with the spam... *sigh*
I'm in through google and can't see the original post, but eh,
shouldn't that be:
Me.ControlName.ControlSource = "[tblName].[SourceField]"
Me.ControlName.Refresh
Otherwise you are changing the value of the control, not the control
source, i.e. "Me!NameOfControl = " defaults to "Me!NameOfControl.Value
="
BillCo said:Arno, dude - his spam post was up for 5 hours before your retort today
- getting slow man!!! you're like a pitt-bull dog with a bone with that
whoissteve.html ...it cracks me up. Every single time he spams the
group ( usually giving wrong answers ) you pop up with your web link (
fair play to you for not letting this gobsh!te away with it ) ...and
yet still he returns over and over. It's a little like a comedy now.
PC Datasheet said:Hey Simple Simon, you'r an ignorant bastard!!!!
From the help file ---
The following example sets the ControlSource property for a text box named
AddressPart to a field named City:
Forms!Customers!AddressPart.ControlSource = "City"
The next example sets the ControlSource property for a text box named
Expected to the expression =Date() + 7.
Me!Expected.ControlSource = "=Date() + 7"
BillCo said:again with the spam... *sigh*
I'm in through google and can't see the original post, but eh,
shouldn't that be:
Me.ControlName.ControlSource = "[tblName].[SourceField]"
Me.ControlName.Refresh
Otherwise you are changing the value of the control, not the control
source, i.e. "Me!NameOfControl = " defaults to "Me!NameOfControl.Value
="
PC Datasheet said:............ ( usually giving wrong answers )
I certainly did, BUTT-FACE!!!!!
Hey 'resource' Stevie...
Have you even looked at your answer (and Bill's answer) properly before your
name-calling??
Oops ...??
Arno R
PC Datasheet said:Hey Simple Simon, you'r an ignorant bastard!!!!
From the help file ---
The following example sets the ControlSource property for a text box named
AddressPart to a field named City:
Forms!Customers!AddressPart.ControlSource = "City"
The next example sets the ControlSource property for a text box named
Expected to the expression =Date() + 7.
Me!Expected.ControlSource = "=Date() + 7"
BillCo said:again with the spam... *sigh*
I'm in through google and can't see the original post, but eh,
shouldn't that be:
Me.ControlName.ControlSource = "[tblName].[SourceField]"
Me.ControlName.Refresh
Otherwise you are changing the value of the control, not the control
source, i.e. "Me!NameOfControl = " defaults to "Me!NameOfControl.Value
="
Damn. I hate it when he gets all intellectual
like that. Is "BUTT-FACE" Latin?
Rob Oldfield said:Damn. I hate it when he gets all intellectual like that. Is "BUTT-FACE"
Latin?
PC Datasheet said:............ ( usually giving wrong answers )
I certainly did, BUTT-FACE!!!!!
Hey 'resource' Stevie...
Have you even looked at your answer (and Bill's answer) properly before your
name-calling??
Oops ...??
Arno R
PC Datasheet said:Hey Simple Simon, you'r an ignorant bastard!!!!
From the help file ---
The following example sets the ControlSource property for a text box named
AddressPart to a field named City:
Forms!Customers!AddressPart.ControlSource = "City"
The next example sets the ControlSource property for a text box named
Expected to the expression =Date() + 7.
Me!Expected.ControlSource = "=Date() + 7"
again with the spam... *sigh*
I'm in through google and can't see the original post, but eh,
shouldn't that be:
Me.ControlName.ControlSource = "[tblName].[SourceField]"
Me.ControlName.Refresh
Otherwise you are changing the value of the control, not the control
source, i.e. "Me!NameOfControl = " defaults to "Me!NameOfControl.Value
="
Hey Simple Simon, you'r an ignorant bastard!!!!
From the help file ---
The following example sets the ControlSource property for a text box named
AddressPart to a field named City:
Forms!Customers!AddressPart.ControlSource = "City"
The next example sets the ControlSource property for a text box named
Expected to the expression =Date() + 7.
Me!Expected.ControlSource = "=Date() + 7"
Me!NameOfControl = "NameOfControlSource"
Note - the name of the controlsource must be in quotes as shown.
Look again. It's your own language - pig latin.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.