Forms :: Using Smart Tags With VBA?

Jan 9, 2014

Access 2007-2010 format Form, 9 bound fields, grouped together Smart Tag = "UnitGroup"

Summary: Needing to run VBA whenever the value is changed within one (or more) of these fields. User could be placing new value (defaults at 0) or editing(changing) previous value entered.

I am not good on writing loops/next statements. But I am wanting to make an image visible to true when someone changes the value within the group.

This is what I have so far:

Dim ctlGroup as Control
For Each ctlGroup in Me.Controls
If ctlGroup.Tag = "UnitGroup" Then 'finds the smart tagged controls
If ctlGroup Then 'if any fields within group changes value then
Me.Image321.Visible = True 'show image
End if
End If
Next ctlGroup

I don't even know if I am close with my code - clearly it is not complete and lots of holes of wonderment!! Maybe it would be easier just to use the individual even (on change) with each individual field (9).

View Replies


ADVERTISEMENT

Remove All Smart Tags

Jan 17, 2012

I have an Access template I downloaded which has smart tags. I want to remove all smart tags all of the forms but how.

It must remove all tags as other users will be using the same database on different pc's. So mustn't be a local client setting.

View 3 Replies View Related

3NF Question. One For The Smart Ppl Here.

Feb 23, 2005

http://www.bcwwrestling.btinternet.co.uk/pirce_band_func_deps.jpg

I have table with the functional dependencies shown above.

I would like to know if it is in 3rd Normal Form. I think it is.

The table stores data on DVDs and Tapes.

Format = "Tape" or "DVD".

Region is either "1","2","3" or "0" (If format is DVD)
or "PAL" or "NTSC" (If format is Tape).

Rarity is a rating (1 to 5) of how rare a tape or dvd is. The user uses their descretion when deciding this value, but the take format and region into account when deciding.

Price is the cost of the tape or dvd. The rarity, region, and format are considered when the user decides upon a price.

Region, rarity and format are unique, and can only appear once in the table.

Finally, Price band is the primary key of the table. It is a value used solely to identify the combination of Format, region and rarity.

Im not sure if I have done the diagram correctly. Im not sure if I need to model a dependency if it is only there because the user is using data when deciding on the value of other data.

In which case, would this be the correct diagram, and is it in 3NF?

http://www.bcwwrestling.btinternet.co.uk/pirce_band_func_deps2.jpg

View 1 Replies View Related

Dear Smart People,

Oct 11, 2005

I have a form with a textbox and a button. When the user enters in a number range, I need records to show up for only dates that are in-between and/or equal to the numbers typed in the textbox.

For example when the user types in 4-9, and pushes the button, a display of records will be displayed for only 4, 5, 6, 7, 8, 9 (if there are such records). The numbers are contained in a NUMBER field of a larger table.

This seems to be a tough question, and I've done days of research on it and can't find an answer.

View 1 Replies View Related

Smart Access Application (vbs)

Oct 30, 2006

Hello everyone. This is my first post (for not asking help :) )
I look at topics for start up options etc and I think all of this it’s ok but there is a smarmiest way to start your application. So here we go..
We make a vbs Script

Set WSHShell = CreateObject("WScript.Shell")
WSHShell.Run """C:Program FilesMicrosoft OfficeOFFICE11MSACCESS.EXE""/RUNTIME ""C:Documents and SettingsEvalDesktopDataBaseUI.mdb"""

And we start The Access In runtime and open your Db
Note this working with Access 2003 .If you have an other version just change the access directory “C:Program FilesMicrosoft OfficeOFFICE11MSACCESS.EXE”
Where is your Office Access
Then you can make a shortcut of your .vbs script and rename it ass you like
You’re Application Name. You can change the Icon (If you have a Program File’s Folder Place your icon) Right Click Properties/Change Icon
Then your app is starting in Access /Runtime and everything is fine :)

View 1 Replies View Related

Smart Key Prompt In Combo Box

Jul 14, 2006

Does anyone know how complicated would it be too allow the user to key in the first couple letters of the last name in the combo box & have the combo box prompt names that begin with those letters?

I thought I did this before, but I can't figure out how.

I would appreciate any advice.

View 2 Replies View Related

General :: Smart Date Picker

Jan 5, 2013

I am operating in MS Access 2007 and unfortunately have to stick with the "out of the box" controls. I have data entries of notes in my database for "most workdays" - but not holidays or weekends. I want to allow the user to be able to edit notes for "most workdays" - but not let them pick a day to edit that doesn't have notes - by selecting them from a calendar date picker. Essentially, I want to gray-out/lock the non-workdays from editing.Is there a smart enough Active X or other control as a Date Picker that uses the results of a query to show valid/invalid dates?

View 2 Replies View Related

Looking For Access Based Smart Business Software

Mar 10, 2007

We are looking for an access based software similar to this http://www.pedyn.com/access/P2000details.htm
Could any of you can guide us to get a best suit

View 1 Replies View Related

Help Tags

Mar 20, 2007

Hi there,

It would be quite useful to have a help button on my forms which when pressed, showed a short help tag for each button etc on that form. SO the user knows exactly what each function does.

Im not aware of any built in function to do this? Is there anyway to show all the 'ControlTip Texts' on the page?

Thanks

View 2 Replies View Related

Database With Tags For Images

Feb 20, 2015

I produce visualisations for architecture companies and use a lot of 2d images of people, cars, trees, skies, etc. As it stands now, I have a folder that contains a huge amount of images that I flip through when I create a new image. I have seen that some websites, such as [URL] .... allow you to filter through an image database based on different tags.

I would like to create a similar database, but stored locally on my computer. I have actually never used Microsoft Access before, but I'm thinking that this might be the best program for me to use. Is this true?

Essentially I would like to organize my library of images of 2D people based on things like: 'staring', 'bicycle', 'looking up', 'back view', 'crowds', 'pointing', 'sitting' etc.

View 3 Replies View Related

Creating A Db That Is Searchable By Tags

Apr 18, 2015

Default Searchable Tagged List...I'm trying to create a list of items that allows me to tag each item with essentially unlimited tags and perhaps a limited number of other fields. Later, I'd like to be able to search that list for specific items by the tags that they have. Finally, I'd like to either export or copy/paste the results.

View 4 Replies View Related

General :: How To Read / Create ID3 Tags For Mp3(s)

Aug 15, 2012

how to read / create ID3 tags for mp3's? I have found various snippets but they are mainly vb.

View 8 Replies View Related

General :: Using Variable Between HTML Tags?

Sep 30, 2012

TextBox1 is Rich Text:-

I want to replace my String ("Evidence required of this please" ) in this code 1) following which works fine, with a variable (textToPaste) as in code 2) which doesn't work.

1) TextBox1 = "<div><font style=""BACKGROUND-COLOR:#FFFF00"">Evidence required of this please</font>"

2) TextBox1 = "<div><font style=""BACKGROUND-COLOR:#FFFF00"">textToPaste</font>"

Can I persuade the statement to accept "textToPaste" as a variable and not a normal string?

View 3 Replies View Related

Remove Some Certain Words / Tags In Fields

Aug 9, 2013

We use Access to pull data from data warehouse and this year they upgraded the new system on the back end and moved old data to the new one. Problem is that in some tables having big fields such as Asset Long Description, Work Long Description and when moved to the new database system, somehow there are certain some XML tags such as <br> </br, etc.. added into the description. So when we pull the data onto the table in Access, is there a way to remove those tags out of the descriptions fields? a macro or module?

View 1 Replies View Related

Removing Html Tags From Access 2007

Feb 6, 2008

I did not know where to ask this question or how to ask, so please excuse me.

We have an Access 2007 database that updates an Access 2003 database. My problem is, the data in 2007 is formatted and when the 2003 table is updated, it displays the html formatting tags. Is there a way to remove the formatting (convert to plain text from rich text?) during the update?

View 1 Replies View Related

Retrieving &lt;HTML&gt; Tags In Access Database

May 9, 2005

Hi,

I have a database which I can add to, edit and delete via an asp.net page, it also allows me to add html tags.
My problem is when the data is then rebinded to the page any HTML tags are changed from '<' to '<' and from '>' to '>' this results in the tags and contents being displayed on the page as text instead of being interpreted as HTML and then formatting the page - most frustrating!

Any help is greatly appreciated, this is a relatively new area for me so many thanks in advance.

Steve

View 1 Replies View Related

Modules & VBA :: Modify Tags (metadata) In JPG Files

Jun 18, 2014

I've question reqarding modyfying tags (metadata ) in jpg files.

I've found some code which allow to read tags from jpg files through vba but only read - editing is not possible.

So my question is: vba code which allow modify tags in jpg files? {Below code for reading tags, requires to turn on following reference in vba editor: Microsoft Shell controls and Automation )

Public Function getFileMetadata(fileFolder As String, fileNm As String, _
metadataType As String) As String
Dim objShell As Shell32.Shell
Dim objFolder As Shell32.Folder
Dim objFolderItem As Shell32.FolderItem

[Code] ....

View 3 Replies View Related

Queries :: Remove HTML And RTF Tags From String

Dec 5, 2013

I'm using Access 2010.

I'm trying to append some text to a field used for comments for a Team Member profile. I don't really want to create a comments table for multiple comments regarding changes to the profile.

Some comments already exist and I want to add some more information programmatically when the profile is updated using a batch update at the end of a reporting period.

I thought it'd be easy in a query,

New Comment:[EXISTING COMMENT] & "; Additional Comment" But I was getting HTML Tags when I tried to concatenate the strings. "<div><font color=black> EXISTING COMMENT HERE </font></div>" then a linefeed and <div> </div>; Additional Comment HERE.

I found a function to kill all the html tags but the visual linefeed and the " " tag won't go away.

I'd like to concatenate two pure text strings to get one pure text string to put back into the comments field which will just be text wrapped with no forced linefeeds.

View 3 Replies View Related

Queries :: How To Get Newest Data From Tags Generated In Table

Aug 29, 2014

I need a Query that grabs the lastest "newest" data from the 5 tag.table tags generated from the query below and Display them in a result,

SELECT FloatTable.DateAndTime, FloatTable.TagIndex AS FloatTable_TagIndex, FloatTable.Val, TagTable.TagName, TagTable.TagIndex AS TagTable_TagIndex
FROM FloatTable INNER JOIN TagTable ON FloatTable.[TagIndex] = TagTable.[TagIndex];

View 1 Replies View Related

XML Into Access - Fields / Parameters Found Within Tags Not Importing

Apr 22, 2014

I am trying to import XML into access however have noticed that Access 2013 is not importing fields/parameters found within tags. For example:

<locations>
<locationelement description="Master Location" dns="tester.test.com" key="M0" lastupdated="Never Updated" pdport="5555" port="5551">
<monitoringperiodtimezone>EST5EDT</monitoringperiodtimezone>
<monitoringperiod days="Sunday" hours="28-95" />
<monitoringperiod days="Monday,Tuesday,Wednesday,Thursday,Friday,Saturday" hours="all" />
</locationelement>
</locations>

When importing, Access creates a table location element with fields for monitoring period timezone (containing EST5EDT) and monitoring period (containing nothing). I was wondering if there is a way to access fields such as description, dns, key etc or days, hours, ie fields that are within a tag.

View 4 Replies View Related

Tables :: How To Remove HTML Tags Displayed In Table When Copy / Paste Data

Jan 19, 2015

When I copy data from Outlook or MS Word that contains bullets or other HTML formatted text, into MS Access text control, the HTML tags are displayed in the tables.

The memo field in the table is set to Rich Text and so is the text control on the form.

Below is an example of the data I'm copying from Outlook email:

Fire Alarm Activation

Actual/Smoke Present
False
Planned Drill/Testing
Evacuation

2. Utilities/Power/Communication Failure

Now, below is what it looks like in my table or output in a report:

<ol>
<ol>
<li><strong>Fire Alarm Activation </strong></li>
</ol>
</ol>
<ul>

[Code] ....

How can I copy and paste and remove the html tags?

View 1 Replies View Related

Forms :: Find Hex Or RGB Value For Blue Color That Access 2010 Uses By Default For Buttons On Forms?

Sep 5, 2014

Where can I find the Hex or RGB value for the blue colour that Access 2010 uses by default for buttons on forms? I need to change some buttons to yellow (I know the code for that) but later change them back to the previous shade of blue, which is shown in the Properties pane "Accent 1, Lighter 40%".

By clicking in the standard colors area at the bottom of the colour chooser I can find a very similar blue #D6DFEC but it doesn't look quite right. And the "accent" colour does not give me a Hex value.Is that "usual" blue even one colour? How can I reset a button to that style having changed it?

View 14 Replies View Related

Forms :: Number Of Buttons Which Open Other Forms And Filter Results Using Embedded Macro

Apr 6, 2015

I have a bit of a problem with a database in Access 2013. On 1 of the forms, I have a number of buttons which open other forms and filter the results using an embedded macro. All has been well until a few days ago when error 2950 pop up box started appearing. After fiddling around for a while it all works OK (without actually changing anything) until next time the database is opened. I checked to make sure the location is "trusted" and all seems OK.

View 4 Replies View Related

Forms :: Continuous Forms - Looping Through Records / Manipulating Fields On Form

May 29, 2015

I have a bound continuous tabular form,However, based on data content in one field of a record, I want a checkbox in the same record enabled, so the user can check it if necessary. I have created a record set using the form as shown below, and I am looping through each record. To show that my code is referring to the field with required data content, I display it as a message box and it works, yet my checkbox does not enable.

I have the code in the form_load event, however, for testing purposes I have it behind a button.If I am seeing this properly, the code behind the button enables the checkbox for ALL records once the criteria in the required field is true, and based on the last record, which has no data content, it disables the checkbox in ALL records. I also have the PK ID for each record hidden in the form. Can I utilize that to target the checkbox of each individual record??

Form Detail
-Form does not allow additions or deletions. Edits allowed
-All fields are disabled and locked
-I only want the check box to unlock if data is found in the "RequiredField" as referred to below. I have also tried if not isNull(requiredfield.value) then -enable checkbox, which yields the same results

Here is my code

Code:

Dim rstMyForm As DAO.Recordset
Set rstMyForm = Forms!MyForm.Form.Recordset
rstMyForm.MoveFirst
Do While Not rstMyForm.EOF
If Not RequiredField.Value = "" Then

[code]...

View 14 Replies View Related

Forms :: Editing A Forms Control Source To Update A Field In A Table

May 28, 2013

I have created a table for installer invoicing, and have a field for invoice amount. I have created a user input form that allows a user to fill in certain pay rates for different aspects of installation, and would like to know how to make the invoice amount a calculated control that will auto update the field InvoiceAmt in my table. I can't figure out how to do this in the property sheet.

View 3 Replies View Related

Forms :: Default Property / Using A Control Of Main Form Without Using Names Of Forms?

Nov 8, 2013

In the default property of a subform control I want to use a control of the main form without using names of forms, but using me and parent.

I used in default property of cboVATDetail: =Me.Parent!cboVAT, but it is not accepted. My aim is to use cboVAT of parent as default in cboVATDetail of child.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved