Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2010, 04:56 PM
Authorized User
 
Join Date: Sep 2010
Posts: 45
Thanks: 12
Thanked 0 Times in 0 Posts
Default can not reach that consultant

Hello HiTechCoach,
That group boss has been changed before I came in, and no one knows that consultant's contact info....... the current database MDE only working on Access 2003.
I think MDE file can run on Access 2007, but it has to be come from 2007 mdb. If we have the original mdb file, I can update it to 2007 mdb first, then from there, save as lock down file mde.

So, for my two problems, what should I do to let this database work?
1. few fields data can not be saved in the projects table;
2. the error message for the SubForm --ProjectDetails “The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.”

Thank you very much,
Cindy
 
Old October 19th, 2010, 01:54 PM
Authorized User
 
Join Date: Sep 2010
Posts: 45
Thanks: 12
Thanked 0 Times in 0 Posts
Default I can save my records

Hi Everyone,
Just let you know that I can save my records, here is my code
**

Private Sub IndexCode_AfterUpdate()

Dim NewProjectPlanning As DAO.Database
Dim rst As DAO.Recordset
Dim strSQL As String

Set NewProjectPlanning = CurrentDb
strSQL = "select IndexTitle,[Section Director]As SectionDirector,[Program Manager] As ProgramManager ,[Program Admin Asst] as ProgramAdminAsst from [Index Codes, Titles] where IndexCode='" & Me.IndexCode & "'"
Set rst = NewProjectPlanning.OpenRecordset(strSQL)
Me.strIndexTitle.Value = rst!IndexTitle
Me.strSectionDirector.Value = rst!SectionDirector
Me.strProgramManager.Value = rst!ProgramManager
Me.strProgramAdminAsst.Value = rst!ProgramAdminAsst
End Sub
**

But this problem is still in there:

the error message for the SubForm --ProjectDetails “The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.”

Thanks,
Cindy
 
Old October 19th, 2010, 02:49 PM
Authorized User
 
Join Date: Oct 2010
Posts: 64
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Do you have memo fields and using DISTINCT? If so check out http://support.microsoft.com/kb/896950.
The Following User Says Thank You to malcolmdixon For This Useful Post:
cindyl (October 19th, 2010)
 
Old October 19th, 2010, 08:08 PM
Authorized User
 
Join Date: Sep 2010
Posts: 45
Thanks: 12
Thanked 0 Times in 0 Posts
Default Thanks, Malcolm

Thank you very much, Malcolm. I did a little change after I read that article. And.......................................It works:-)

Cindy





Similar Threads
Thread Thread Starter Forum Replies Last Post
DateTimePicker Save/Display Null Values reyboy VB.NET 5 August 25th, 2007 04:11 AM
how to save queries in the table benz_jie2005 SQL Server 2005 3 June 7th, 2007 04:48 AM
Using Control State to save/load values VictorVictor ASP.NET 2.0 Professional 0 March 29th, 2007 03:14 PM
Save date in to a table suhabassam JSP Basics 3 September 26th, 2005 04:49 PM
How to save a table in another name rohan1958 Access 3 January 31st, 2005 09:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.