473,408 Members | 1,870 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,408 software developers and data experts.

Can I Use Data Access Pages

Curben
47
Hello all, I am back with the new project i have had thrown at me.

I need to make a DB with forms that are accessible by multiple countries on our network so this will not be "web based" per se.

I am using access 2003 with an access 2000 format.

I tried to make a data access page but once i save the page i get connection errors. The form itself when pulled up in IE shows, but there is no data. when i pull the page back up in design view I recieve the error:
"Cannot find the database or some objects that this page refers to. Update the connection information of the page or fix the reference to the missing database objects."

The path is correct and i have made no changes to any connection settings. This is not a web server but more of a shared PC that everyone uses to store documents as well as our general access DBs as well.

Can I use DAPs for what I am looking for, and if so, anyone have any ideas on where to start looking?
Dec 7 '07 #1
2 1433
ADezii
8,834 Expert 8TB
Hello all, I am back with the new project i have had thrown at me.

I need to make a DB with forms that are accessible by multiple countries on our network so this will not be "web based" per se.

I am using access 2003 with an access 2000 format.

I tried to make a data access page but once i save the page i get connection errors. The form itself when pulled up in IE shows, but there is no data. when i pull the page back up in design view I recieve the error:
"Cannot find the database or some objects that this page refers to. Update the connection information of the page or fix the reference to the missing database objects."

The path is correct and i have made no changes to any connection settings. This is not a web server but more of a shared PC that everyone uses to store documents as well as our general access DBs as well.

Can I use DAPs for what I am looking for, and if so, anyone have any ideas on where to start looking?
With Data Access Pages there are 2 different Connections:
  1. Connection from Access to the Data Access Page. This can be set and/or retrieved or set via the FullName Property of the Page as in:
    Expand|Select|Wrap|Line Numbers
    1. Dim aob As AccessObject
    2. Set aob = CurrentProject.AllDataAccessPages("Page3")
    3.  
    4. 'Set
    5. aob.FullName = "Fully qualified Path to the *Page3.htm File"
    6.  
    7. 'Retrieve
    8. Debug.Print aob.FullName 
  2. The Connection between the Page and the Data Source, This can be set and/or retrieved in the following manner:
    1. Open the DAP in Internet Explorer or your Browser.
    2. Select the Option to View the Source Code. In IE, this is View ==> Source.
    3. CTRL+F to Open the Find Dialog Box.
    4. Search for the String 'Data Source='.
    5. When found, either verify or correct.
    6. Hope this helps.
Dec 8 '07 #2
Curben
47
Still not working:
Here is what i did
I added the code as a module which i Titled Dap Connection and added the following code

Expand|Select|Wrap|Line Numbers
  1. Option Compare Database
  2.  
  3. Dim aob As AccessObject
  4. Set aob = CurrentProject.AllDataAccessPages("AltOverride.htm")
  5.  
  6. 'Set
  7. aob.FullName = "\\3.28.239.168\SwapServer\Users\Curt\Lab\AltOverride.htm"
  8.  
  9. 'Retrieve
  10. Debug.Print aob.FullName
and this is the connection string, all paths appear to be correct


Expand|Select|Wrap|Line Numbers
  1. <a:ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;User ID=501017623;Data Source=\\3.28.239.168\SwapServer\Users\Curt\Lab\DEX RR DB Support.mdb;Mode=ReadWrite|Share Deny None;Extended Properties=&amp;quot;&amp;quot;;Persist Security Info=False;Jet OLEDB:System database=\\3.28.239.168\swapserver\DB Support\System.mdw;Jet OLEDB:Registry Path=&amp;quot;&amp;quot;;Jet OLEDB:Database Password=&amp;quot;&amp;quot;;Jet OLEDB:Engine Type=0;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=&amp;quot;&amp;quot;;Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False</a:ConnectionString>
Did i misunderstand something or break something else?
Dec 12 '07 #3

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

Similar topics

1
by: John Baker | last post by:
HI: Does anyone know a good manual or web site that addresses the development of applications using the Data Access Capability (HTM) in Access. I need to have something on a web site that, at...
0
by: luci | last post by:
Hello I've developed several data access pages and I searched for the same problems in different internet pages but I never got back a usable answer. Here are my questions: 1) How is it...
0
by: Donald Watson | last post by:
I have created data access pages for my database that is sitting in a shared folder on the network so all my users have access to it. Everything works perfectly. I have 2 data access pages built....
1
by: Bob Alston | last post by:
Anyone able to do this with Access created Data Access Pages, using UseRemoteProvider parm on DAP and getting RDS configured properly on the server so the DAP's activeX can access the database on...
3
by: Lyle Fairfield | last post by:
In a recent thread there has been discussion about Data Access Pages. It has been suggested that they are not permitted on many or most secure sites. Perhaps, that it is so, although I know of no...
10
by: Edlueze | last post by:
I am developing some Data Access Pages (DAP) using Microsoft Access 2003 on Microsoft Windows XP. When I try to open these pages (located on my C: drive), the display of the data access page is...
4
by: George | last post by:
Hi all, I am having trouble with updating my data in an Access database. here is my code: Imports System.Data.OleDb Dim AppPath As String = Mid(Application.ExecutablePath, 1,...
5
by: SRAM | last post by:
Hi, Problem statement: We have some amount of data stored in various excel sheets and we generate a few reports from these data. We are in the process of consolidating all data to reside in a...
4
by: md9108 | last post by:
I am not a programmer, nor do I use MS Access with any frequency, so I'm not very confident in what I've been doing. I have read everything I can find about Data Access Pages and I've tried...
7
ADezii
by: ADezii | last post by:
There are essentially three techniques for publishing Access Data on the Web. The first technique is static, and does not allow for the dynamic addition or modification to the data, There is no...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.