473,396 Members | 2,026 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,396 software developers and data experts.

Problem in access when transfer data from one file to another file

Respected Sir..

I am working on Access Project. When I Transfer Forms of an ADP file into an .mdb database using ole function (docmd.transferdatabase( ) ) then a message occured for some forms ...( The Object was saved in an invalid format and can not be read) and after press ok button , we get another message , no current record.
i want to avoid these messages.
Dec 19 '07 #1
3 1812
NeoPa
32,556 Expert Mod 16PB
I don't think that you can use a form from an ADP file in an MDB file. You need to get the form from the MDB file the form was originally developed in.
Dec 19 '07 #2
NeoPa
32,556 Expert Mod 16PB
Amrit, it seem you posted this same question twice. Please don't do that as it creates extra unnecessary work for the mods.
No problems this time (I'm sure it was a simple mistake) but please remember in future.
Dec 19 '07 #3
Jim Doherty
897 Expert 512MB
Respected Sir..

I am working on Access Project. When I Transfer Forms of an ADP file into an .mdb database using ole function (docmd.transferdatabase( ) ) then a message occured for some forms ...( The Object was saved in an invalid format and can not be read) and after press ok button , we get another message , no current record.
i want to avoid these messages.
Amrit,

You will have difficulties with this depending on the complexity of your system you have to remember that forms are dealing with server side data and hence you 'might' have a controlsource that references a stored procedure for instance that the mdb form version would have no idea about ie "dbo.usp_MyStoredProcedure" or a view where in an ADP file it would be editable but in an mdb file it would not be because it has no concept of the view and so on.

You 'can' import forms into an mdb file 'and' use them but you have to be mindful of the subtle differences in what a form was designed to do 'before' in an ADP environment and what it cannot do now and be prepared to adjust the differences if I am making any sense to you.

Using the wholesale transferdatabase method I wouldn't recommend either, its too wholesale to be of any real use in this scenario. Lets not forget it was written before ADP files came along. I would suggest grabbing a form at a time using 'file.... get external data....and see what impact it has for you

Hope this helps

Jim :)
Dec 19 '07 #4

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

Similar topics

3
by: *no spam* | last post by:
I want to move my Access 2K database into MSDE. The Access Upsizing Wizard crashes (a known bug wi A2K), so I'm using the following suggested method: Access --> New --> Project (Existing...
11
by: Abhishek | last post by:
I have a problem transfering files using sockets from pocket pc(.net compact c#) to desktop(not using .net just mfc and sockets 2 API). The socket communication is not a issue and I am able to...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
11
by: Russ | last post by:
My web app writes some binary data to a file at the client site via Response.Write and Response.BinaryWrite. This action is accomplished in response to a button click, with C# code behind as...
12
by: Britney | last post by:
Hi guys, in my default.aspx file, I have following code. when I go to browser, I enter values in both textboxs, then I hit submit Button, however, it didn't go to page2.aspx. instead, it was...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
20
by: TC | last post by:
I need an automated procedure to copy data from an Access table to a SQL Server table. Speed is important. What is the recommended technique? I can export the data from Access, copy it via FTP,...
23
by: Peter | last post by:
I have a problem with a page show_image.asp that returns a jpg image under Windows XP Pro SP2. The page sets content type as: Response.ContentType = "image/jpg" While this works perfectly fine...
5
by: WT | last post by:
Hello, IIS6 on W2K3, .net 3.5, Sql 2005. All sp applied. My site is using windows authentication only and the web application connects to sql server residing on another server in the same...
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.