Edit Design And Not Losing Data From An Mde File

Jul 14, 2005

Still not sure how to do this, after I convert my database and create an mde file few changes might accrue in the future, I have tried to make some changes for testing purpose and then create a new mde file and saved it with replacing the older one but I had lost my new data which was entered in the old mde file?

Q: how can I make the new change on my original file and not lose my new data in my mde file.

View Replies


ADVERTISEMENT

How To Copy Value From Access Table To Excel File Without Losing Number?

Jul 27, 2007

This forum is really helpful!

I am using following code to copy low value from Access table to excel file, but only to find that it changed in excel file. How should I do to not change that?

ThisWorkbook.Sheets("EV Data").Cells(row + 2, col + 2) = _
rs.Fields(col).Value



RecordIDDateTimeStampSetupIDStringBaseProductIDStringMGDBIDStringVAGLBIDStringPWDCohortIssueAge1IssueAge2NumberOfCellsNumberOfScenariosTotalWeightInitialPremiumEV_MeanEV_P995EV_P99EV_P95EV_P90EV_P75EV_P50EV_P25EV_P10PrEVGTZero
51907/27/2007 7:04:36 PMAccess2006Max72006MGIBAllCombinedAllCombinedAllCombined95010.006800000006810000009.33604218011769E-03-2.48487734766947E-02-2.35810657931309E-02-1.44083677074442E-02-1.10775676515645E-02-2.1878002261516E-037.92060932296671E-031.95193525290664E-023.06835072412068E-020.70658682634731
52007/27/2007 7:04:37 PMAccess2006Max7LifePayIAllCombinedAllCombinedAllCombined185010.005110000001.19424841908013E-02-1.67115163990304E-02-1.42187111112351E-02-8.08910871821918E-03-4.62961276311795E-032.72200376166994E-031.04312882683217E-022.06668892126601E-022.96649979111015E-020.80638722554891
52107/27/2007 7:04:37 PMAccess2006Max7NoneAllCombinedAllCombinedAllCombined95010.0054410000007.98908918707603E-03-1.67789382388317E-02-1.56490361783179E-02-1.07703746693193E-02-0.00753365556878-7.10709517675212E-046.72111941423526E-031.59418102675589E-022.44078788510759E-020.730538922155694
52207/27/2007 7:04:37 PMAccessRat2006MGIBAllCombinedAllCombinedAllCombined95010.0030199999969810000009.52176602967384E-03-1.56233866973614E-02-1.49901562045925E-02-8.41152147122661E-03-5.44762510232609E-034.05576508882054E-047.33588282834675E-030.0164686012768352.61950530898991E-020.754491017964078
52307/27/2007 7:04:37 PMAccessRatLifePayIAllCombinedAllCombinedAllCombined185010.00226499999773510000001.06805510377118E-02-0.014626108301625-1.20428523073918E-02-6.08984658852046E-03-2.22851888030373E-034.04428276871694E-039.82402795120803E-031.68655595406923E-022.40410662469335E-020.856287425149709
52407/27/2007 7:04:37 PMAccessRatNoneAllCombinedAllCombinedAllCombined95010.00241599999516810000005.8666292477999E-03-1.13844546795139E-02-1.04027261898336E-02-6.72766534794549E-03-4.77103336054974E-03-3.11542830732602E-044.5158867397345E-031.06654135236169E-021.76803347713142E-020.730538922155694

View 7 Replies View Related

Subform 'losing' Data

May 12, 2006

I have a form and subform. Clicking a record in the subform displays the details of that record in the main form. The form is used for editing, adding and deleting data for a given person's sales record and the subform displays a full list of all records for that person.

When I edit a person's record, using the main form, and click on a button to run the code:

DoCmd.RunCommand acCmdSaveRecord

I can go into the underlying table and see the changes. I can also refresh the subform and see the changes.

However, the next time I click on any of the records in the subform, the value in one of the fields vanishes from both the subform and the table. Any other changes made, to however many fields, remain.

Surely, if there's a problem with that field, the update shouldn't happen at all?

View 3 Replies View Related

Tables :: Getting Rid Of Lookup Fields Without Losing Data

Oct 15, 2012

What is the best way to do this without losing data? I have several FK that I made the mistake of setting up as lookup fields. I now want to correct this without losing data if possible.

DataType currently says "Number" under each of these. So I can't just change them to number. Is there another way to do this?

View 2 Replies View Related

Tables :: Losing Rows Of Data When Making A Table

May 19, 2014

I have imported 3 different excel worksheets into Access. I then created a query in which I made some relationships and select the fields that I need to make a new table. The problem is, when I run the table the final product is missing about 20,000 rows of data. I have used this protocol successfully for other other files, but for some reason, with this dataset Access is pasting 10,000 rows into the new table, where the original file has 39,000.

View 1 Replies View Related

General :: Split Database - Cannot Edit Table Design Despite Snapshot Usage

May 27, 2014

I have a split database made in Access 2007. Each user gets their own copy of the frontend from a script. I wanted to be able to edit the design view of the backend tables even if people were using the database so I made all the forms use snapshot source and only allowed data updates through VBA macro update queries. Having any form open locks the backend source table from being edited. In fact, I've found that just having a normal snapshot query open causes the message "Either an object bound to table 'whatever' is open or another user has the table open. Do you want to open the table as read-only?"

Is there some way to have a table be the source for a form or query, but still have it designable under most circumstances?

Attempted to late-bind a recordset on form load; result was the same:

Code:
Set rs = CurrentDb.OpenRecordset("Select redacted as ft from tblRedacted ", dbOpenSnapshot, dbReadOnly)
Set Me.Recordset = rs
Set rs = Nothing

View 3 Replies View Related

Can't Edit When Using Linked .xml File?

Mar 8, 2006

I have just finished my first access database, well almost, one problem- I can't edit or type anything on my database when I am using a link to an xml workbook. If I just import the xml file to use on my database I can edit and save it but not when I used a linked xml worksheet. If I change the xml file entries in Excel, the changes appear on the linked database but it won't work the other way around - I can't even type anything in any of the fields. What have I done wrong and how can I remedy this problem? Any help would be much appreciated.

View 2 Replies View Related

File/Edit Etc Menu Dissappeared

Feb 3, 2007

Hey,


I've been working on my DB for some time(thanks for the help with that:) ) then one day I open it up and my file/edit/view etc menu is gone!

After trying to open with shift to see if I've disabled it by accident. with no joy i tried open access on its own not by the project file and its not there either.

After a quick google I've the apparent solution for this happening in word. (http://word.mvps.org/FAQs/AppErrors/MissingMenusEtc.htm)

But this doesn't seem to port to access.

Any help appreciated.

View 3 Replies View Related

MDE File Still Allows Me To Change Database Design

Mar 16, 2007

I've converted my DB into an MDE file as I understand this secures all the code and doesn't allow any changes to the database (table structure, queries, etc.).

However, when I now view my MDE file, I can still delete queries and change tables. But I cannot view forms in design mode and therefore get access to the code.

Any ideas?

View 3 Replies View Related

Disable Design View/toolbars Vs. MDE File

Feb 16, 2008

There aren't too many threads on this subject folks. I am looking to understand this a bit more. From what I know, complete security of a database can only be accomplished by making an MDE file. But, the downside there is that MDE's cannot be edited by anyone, so any backups or changes that need to made must be done with an MDB.So, what I want to know is, if I want complete security of a database (as in, no changes allowed to be made, except by me), my only option is to make an MDE file and then transfer all the data back and forth between that and an MDB file whenever I need to make any design changes.Am I right?Thanks!

View 2 Replies View Related

Edit Data In Table

Jan 24, 2008

hi, im amaturish at access, but im wondering what would be the easiest way to create a edit page, via any means. eg. in a form?

cheers

View 6 Replies View Related

Can't Edit Data In A Table In ADP

Aug 2, 2006

I've created an ADP project containingnumerous tables. One (and only one!) table in the set will not open in edit mode while in Access. Here are the particulars:

1) The table was created from scratch in SQL Enterprise Manager,
2) The table is editable in SQL Enterprise Manager,
3) The table permissions appear to be set correctly (and are the same as all the other tables which all allow editting in Access)
4) I open the Access project and double-click the table. The "add record" navigation button is disabled, and any attempt to edit a field elicits a "This recordset is not updatalbe" error.
5) However, I can open the table in Design mode in Access, make changes, and save them.

Any ideas? This is very frustrating!

Mark

View 1 Replies View Related

Edit Data On A Subform

Mar 28, 2006

To make a long story short I have a command button that runs a query and opens a subform based on that query. I want to be able to update the records that are returned (via the subform) but I am getting an error - "This Recordset is not updateable". I've tried changing the recordset property to Dynaset (Inconsistent Updates) but that didn't seem to change anything.

Anyone point me in the right direction?

View 1 Replies View Related

Can't Edit Data In Field

Aug 7, 2006

I've created a form (callled Contact) that contains a subform (called Sales). The Sales subform is a datasheet that displays sales for each contact and changes when the record in the Contact form changes. All works fine.

My problem is that I want to display some big text fields from the Sales subform in the Contact form so that I can view them more easily. So I've cut and pasted the fields from the Sales form onto the Conact form and tried to change their Control Source. But nothing I do works.

What should happen is that when a record in the Sales subform changes, the fields that have been cut & pasted onto the Contact form should also change. They do change, but I can't edit the text in them. What have I done wrong?

View 2 Replies View Related

Form Data Entry, Add Only No Edit

Jun 29, 2006

Hi guys,

I've got a table (called table1), which a select query (called qryTable1) read it and is referenced in a form (called frmTable1).

So now my form display fields of the query of the table.

On the form, below the text boxs for data entry, there is a subform that displays the entire table - table1.

I've done this so I can see some fields of the old data, that helps me to enter new ones. Hope u follow so far...
---
This where I'm stuck. When I was half way entering data in the top section of the form (ie using text boxes), if I go to the subform below to copy some values from a field, ACCESS then either adds a new or edit the record. I'm wondering if there is a way to stop ACCESS automatically doing this? I want to be able to add a record when THE add record button is depressed, and that's the only way to add record.

Please do help..

View 1 Replies View Related

Queries :: How To Edit Query Data

May 30, 2013

I have a table structure that I guess could be called a dual one-to-many-to-one, as can be seen in the attached Relationships screen print. Customer loan files are maintained in an AllFiles table, tied to the Customers and Loans tables through the CustomerFiles and LoanFiles tables. Users access the data from an unbound form called FileProcessing, where they can select a customer, and a loan for that customer. The files linked to that customer and loan then appear on a form called Files. However, I need the data on Files to be updateable, and I'm having a hard time coming up with a Files datasource that can be updated. The SQL that retrieves the needed data is:

Code:
SELECT AllFiles.*
FROM (AllFiles INNER JOIN CustomerFiles ON AllFiles.FileNum = CustomerFiles.FileNum)
INNER JOIN LoanFiles ON AllFiles.FileNum = LoanFiles.FileNum
WHERE LoanFiles.LoanNum=[Forms]![FileProcessing]![tbLoanNum]
AND CustomerFiles.CIFKey=[Forms]![FileProcessing]![tbLoanCIFKey];

I tried creating another query that just had the AllFiles table linked to the above query, but the data still couldn't be updated.

View 2 Replies View Related

Forms :: Edit Data Through Form

Apr 23, 2013

I have a simple data base with 2 tables. One table is the pertinent Employee data. That includes a EmployeeID that I contrived myself with the first 4 letters of the FIRST NAME and the first 3 letters of the LAST NAME.

how to make the program do that automatically when I enter the employee's first and last name.I have a form that sits overtop this table to populate the data. It's got some test date in it now c/w hand and manually calculated EmployeeID.

So now I figured out how to make the program do that calculation automatically. So why when I cruse over the records and tab through the fields and the form shows the new EmployeeID, it doesn't update the table for that field?

View 6 Replies View Related

General :: Mail Merge Word File (using Data From Access File)

Mar 11, 2014

I often create contract using mail merge. I have an access file that I want to use as data source for word file. But it does not automatically.

Please download the attached file !

If there are 1 customer and 1 property, I do not need to do anything. Conversely, if there are many customers and many properties, I take time to manipulate.

Firstly, I open the word file. I have to copy and paste paragraphs that I want. Highlight of the original paragraphs is blue.

Secondly, I click 'Insert Word Field' -> select 'Next Record'.

In short, I wish to use VBA in access file to automatically perform the steps that I have outlined.

View 3 Replies View Related

Error When Using Access To Edit Excel Data

Jun 21, 2005

Hi all

I am putting together a quick and dirty db to hold just a few thousand bits of data for some tests I’m about to start.

For various reasons it is better to hold some of these in Excel, and to link Access to Excel.

The problem I have is that when I use Access to edit a “record” in Excel, it will work for the first one or two records, but then Access crashes and I get the very familiar “Sorry for the inconvenience, please send this error file to uSoft blah blah blah” (which I always do, but wonder if anyone ever takes any notice of them!).

The problem occurs whether the spreadsheet is open in the background, or is just sitting closed in its directory with Excel not running.

At the moment, I only have a tiny amount of data as I’m still putting it together, so it’s not a “size” issue; I first noticed the problem with only about ten records!

I expect I’ll move everything to Access (not ideal but hopefully it wont crash quite so often), but I’m curious to know if any of you have actually made a successful link between Access and Excel (and used it for editing data, not just looking, which is fine).

My system: Office 2003 pro/developer, Win XP pro.

Thanks for any thoughts

Skeletal

View 4 Replies View Related

Require Data Entry; Message On Edit

Apr 27, 2005

I have a subform where records can be added or edited. There are two fields: firstname and lastname. I want a message box to appear when a first or last name is edited.
I do not want that message box to appear when a new name is being added. I use this code:

[CODE]....

Now I want to also prevent the user from leaving a record before both fields have data (first and last name are required). My efforts to do this seem to conflict with my message box issues.

Can anyone see what I'm doing wrong or how to do this?

View 14 Replies View Related

Edit Data In Table Directly Through Textbox?

Aug 29, 2006

Hi
I have a form, which displays data from a query recordsource.
One of the textboxes is a "Comments" textbox, which I would like the user to write in directly, which in turn is a direct link to the data in the table so it is updated immediately.

At the moment, the textbox does not seem to be editable. Is there a standard way to do something like this ?

View 10 Replies View Related

Tables :: Edit Or Add Data In A Table Each Month

Feb 21, 2013

I have a commitment table in my database, and normally people will input commitments through a form.

However each month I will have a flat file upload from excel directly into the Commitment Table, these will be up to 1500 lines. (they are downloads from other systems, that we want to have in our database and i can't link directly to these systems).

I created a macro to do this, and attached it to a button and tested it and it works fine.

My issue is this, once I've uploaded it once, next month what I would like to happen is when I upload it again that it changes the original commitment should any of the details be different or it inserts a new commitment if it didn't already exist. (After I have uploaded the original data, I can download it to get the commitment ID to attach to the excel files if necessary.)

View 7 Replies View Related

Unable To Edit Data In Union Table

Aug 14, 2012

I have a Union query that is linked into about 10 different excel spreadsheets on our drive and it pulls back only 3 columns of data (Document Number, Date Registered and Date Implemented). I then have another report which refers to the results of this query and does its own thing from thereon.

Here is a sample of the SQL:

SELECT CINT(RIGHT(RT_01000.[Rev-Trac Number],5)) as [Document Number], RT_01000.[CC_RT Issue Date] as [Date Registered], RT_01000.[Actual Delivery Date] as [Date Implemented] FROM RT_01000;

UNION SELECT CINT(RIGHT(CC_RT_01000.[Rev-Trac Number],5)) as [Document Number], CC_RT_01000.[CC_RT Issue Date] as [Date Registered], CC_RT_01000.[Actual Delivery Date] as [Date Implemented] FROM CC_RT_01000;

My Issue:

As it is above, the query will run, but we end up with duplicate numbers in the "Document Number". It only brings back the final 5 digits from each of these files and ignores the differenciating part of the number, the "CC_RT_" or the "RT_". This causes huge issues in the file which then goes onto use these results afterwards.

My Plan: (failed)

I thought I could simply update the "5" to an "11" to catch anything named "RT_00001" and also "CC_RT_00001" serperately so I can clearly see which is which without any duplicates. However, I recieve the below error when doing so:

"Data type mismatch in criteria expression".

I've been playing with this for hours and unfortunately many many reports reply on these results being correct. It is also not possible to change the names of the RT and CC_RT files that it links into.

View 2 Replies View Related

Data Disappearing From Unbound Text Boxes Upon Edit.

Jan 12, 2006

Hello,

I have a form that utilizes a combo box called cboProgAddr (for Program Address). The cbox has 5 columns each of which fills in an adjacent text box. Since I needed the option of making corrections to these text boxes once they were filled in I need to set them up as unbound via the following code in the After Update event of cboProgAddr:

Private Sub cboProgAddr_AfterUpdate()
Me!txtProgStreet.Value = Me!cboProgAddr.Column(1)
Me!txtLocStreet.Value = Me!cboProgAddr.Column(1)
Me!txtProgCitySt.Value = Me!cboProgAddr.Column(2)
Me!txtLocCitySt.Value = Me!cboProgAddr.Column(2)
Me!txtProgZip.Value = Me!cboProgAddr.Column(3)
Me!txtLocZip.Value = Me!cboProgAddr.Column(3)
End Sub

As you can see it puts each field of data into two separate text boxes. Here's the issue: If I have to go back to the form after the original data entry the following boxes are blank...

txtProgStreet
txtProgCitySt
txtProgZip

while the following retain the orginal data...

txtLocStreet
txtLocCitySt
txtLocProgZip

The original cboProgAddr maintains its original data. All six fields above are stored in the same table as text field. I'd like all the boxes to maintain the data from the original input.

I'm totally baffled why this is so. I've attached images of the combo box control functions if that helps.


Thanks,
David

View 1 Replies View Related

General :: Edit Creates Duplicate Data Entry

Mar 14, 2013

I have a form which saves to a database correctly. It has a key field name called "code".

I can recall the data into a copy of the first form to edit by using the key field "code".

All works well, however, when I click save data from the edit form it does not alter the original data but creates another form but with the same key field called code.

View 1 Replies View Related

Status Bar Not Showing Field Description When Add Or Edit Data?

Apr 26, 2013

When editing a record in Access 2003, the status bar would show the value of each field's description from the table design grid. Is there a way to get Access 2010 to do the same?

View 1 Replies View Related







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