473,387 Members | 3,801 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,387 software developers and data experts.

Access2007 - adding a date to a memo field

I keep a database of projects. I have a memo field in which I keep dated notes about the status. Above the memo field is a button called "update date." When I click on the button it adds into the memo field a bullet the date and the dash "• 01-07-2008 -"

There is an on click event procedure associated with the button and the code at the back end looks like this:

Private Sub Command73_Click()
Me.Recent_Update = Me.Recent_Update.Value & "• " & Date$ & " - "
End Sub

There is also an event procedure associated with the memo field:
Private Sub Recent_Update_BeforeUpdate(Cancel As Integer)

End Sub

The problem is that once I upgraded to Access2007 I click the button and nothing happens. What do I need to change to get this working again?

thanks,
Sep 9 '08 #1
3 1804
missinglinq
3,532 Expert 2GB
Does any code work? Code does not run in 2007 unless your database resides in a folder that has been declared a “trusted” location.

To trust your folder, click:

Office Button (top left)
Access Options (bottom of dialog)
Trust Center (left)
Trust Center Settings (button)
Trusted Locations (left)
Add new location (button)

Welcome to Bytes!

Linq ;0)>
Sep 9 '08 #2
Hooray! That did it!

Thank you so much!
Sep 9 '08 #3
missinglinq
3,532 Expert 2GB
Glad we could help!

Linq ;0)>
Sep 10 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: BlackFireNova | last post by:
This concerns an Access 2002 (XP) database. There are two fields, "Notes" (Memo Field) and "Notes Update" on a form (among others) which I am concerned with here. Problem: I need to be able...
3
by: GorDon | last post by:
Hi, I have a report based on a query. The query grabs a memo field from my main table, yet when I display the memo field in the report it truncates the memo field (the field needs to hold more...
1
by: trhq | last post by:
I have to extract date info from a memo field. How can I do a date search (mm/dd/yy date format) on the memo field in a single pass.?
1
by: Monica Roman | last post by:
Hello, help please. I have a little macro that copies the date from a date/time field to a memo field, BUT instead of going to the memo field it finds the first date/time field and tries to copy...
1
by: alfred | last post by:
Hi What is the type of a memo field and a long integer. ex. double = adDouble, currency = adCurrency etc. text = advarwchar Set col16 = Nothing: Set col16 = New ADOX.Column With col16...
2
by: UKCB Channel Moderator | last post by:
Hi All I'm new to ASP and a few querys I have created my database in Access with the following fields StockCode (Text Box, Primary Key) Item (Memo) Price (currency) Picture (memo)
9
by: RMC | last post by:
Hello, I'm looking for a way to parse/format a memo field within a report. The Access 2000 database (application) has an equipment table that holds a memo field. Within the report, the memo...
2
by: Roger | last post by:
I've got two tables in sql2005 which have an 'ntext' field when I linked the first table in access97 last week using an odbc data source the access-field type was 'memo' when I link the 2nd...
7
by: CloSeb | last post by:
Hello, I'm new to Access and I have a form called Memo. In this memo I've a date field. I want that form to be linked to my switchboard, which I know how to do, and when the switchboad opens, the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.