Create MS/ACCESS database app for non-ms/access users
Is it possible to create an MS/ACCESS database application and package
it for users who do not have MS/ACCESS loaded in their PCs?
I was told that this is possible, but I don't know what software is
needed. Do you know? If so, please answer this post. Thanks.
SueB
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Per Sue Bricker:
>Is it possible to create an MS/ACCESS database application and package
>it for users who do not have MS/ACCESS loaded in their PCs?
>
>I was told that this is possible, but...
Accessing MS ACCESS database using Data EnvironmentHI,
I have developped a program in Visual Basic 6.0 using MS Access database.
I have created all my reports through Data Environment where I have
entered the location of my database file (for e.g c:\project\app\test.mdb)
in the Connection properties.
I have installed my application on another PC using Package & Deployment
wizard.
When viewing the reports on the other PC, I have to enter everytime the
new location of the database.
How can I solve this problem, please?
nadia wrote:
> HI,
> I have developped a program in Visual Basic 6.0 using MS Access database.
>...
Accessing a passworded MS Access 2000 database in Crystal ReportsCan anybody give me some code that I can put in to my VB6 app to open a
passworded Access database in the Crystal Reports 8.5 RDC? I see so
many examples - none of which seem to work for me.
I am using a native connection in Crystal ( pdbdao.dll).
My current code is :
Dim Report As New crPrintPreview
Dim crTable As CRAXDRT.DatabaseTable
Private Sub Form_Load()
Set crTable = Report.Database.Tables.Item(1)
varpath = CurDir
crTable.Location = varpath & "\OrderManager.mdb"
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
End Sub
All I receive is the message "Error opening file xxxxxxx etc" and then
"Open Database session failed"
Appreciate any help!
Peter Tyler
...
Accessing a passworded MS Access 2000 database in Crystal Reports #2Can anybody give me some code that I can put in to my VB6 app to open a
passworded Access database in the Crystal Reports 8.5 RDC? I see so
many examples - none of which seem to work for me.
I am using a native connection in Crystal ( pdbdao.dll).
My current code is :
Dim Report As New crPrintPreview
Dim crTable As CRAXDRT.DatabaseTable
Private Sub Form_Load()
Set crTable = Report.Database.Tables.Item(1)
varpath = CurDir
crTable.Location = varpath & "\OrderManager.mdb"
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
End Sub
All I receive is the message "Error opening file xxxxxxx etc" and then
"Open Database session failed"
Appreciate any help!
Peter Tyler
...
Possible to keep MS Access interface and migrate the MS Access to MS SQL Server?Hello all
Would it be possible to migrate the MS Access 2000 to MS SQL Server
2000?
My application is using MS Access 2000 as database and as user
interface such as forms. Now, I want to migrate the backend database
from MS Access 2000 to MS SQL Server 2000. However, I want to keep the
MS Access 2000 interface. Would it be possible?
If I migrate the MS Access to SQL Server, would the queries, back-end
VBA, macro, tables and forms be affected? Do I need to change the MS
Access data type to SQL server supported data type?
Which tool I can use to do the migration? Upsizing wizard or exporting...
How to set Data source in MS Word as MS Access Databases via DDE(*.mdb;*.mde).How to set Data source in MS Word as MS Access Databases via
DDE(*.mdb;*.mde).
Everytime i click the command button to merge the data, it gives me
item not found and i know that its a problem with my datasource. when i
click ok then it opens the word doucment prompting me which datasource
you want to use, when i click DDE then it gives me the merged data. Is
there anyway i can set it permanantely in my codes below.
Private Sub SetQuery(strQueryName As String, strSQL As String)
On Error GoTo ErrorHandler
'set the query from which the merge
' document will pull its i...
ms access data access pageshi my self uttam . i am working in r & d organization . friends i
need a he lp from u . if any one of u know how add two
sections(consisting of caption, header, footer ) be displayed on the
same data page in ms access 2003 or 2005.i tried to display two tables
on the data page in
tabular format but i could not do it. it is allowing to display one
table but it is not allowing to display the other table separately in
tabular format . i want more than one table in tabular format to be
dispalyed in data page separately with some text in-between tables.
plz reply me
with regards
uttam
On Mar 24, 5:06 am, kunu...@gmail.com wrote:
> hi my self uttam . i am working in r & d organization . friends i
> need a he lp from u . if any one of u know how add two
> sections(consisting of caption, header, footer ) be displayed on the
> same data page in ms access 2003 or 2005.i tried to display two tables
> on the data page in
> tabular format but i could not do it. it is allowing to display one
> table but it is not allowing to display the other table separately in
> tabular format . i want more than one table in tabular format to be
> dispalyed in data page separately with some text in-between tables.
> plz reply me
> with regards
> uttam
Use a form and subforms. ...
Moving data from MS SQL Server 2000 or MS Access XP to UniData 5.2.9Complete MVDBMS neophyte -I may not even qualify at the neophyte
level- that needs a simple solution to move data -in batch
initially...real-time eventually- from RDBMSs such as SQL Server 2000
or Access 2002 (XP) to UniData 5.2.9.
Any leads would be greatly appreciated.
--Ryan N.
Ryan N. wrote:
> Complete MVDBMS neophyte -I may not even qualify at the neophyte
> level- that needs a simple solution to move data -in batch
> initially...real-time eventually- from RDBMSs such as SQL Server 2000
> or Access 2002 (XP) to UniData 5.2.9.
>
> Any leads would be greatly appreciated.
>
> --Ryan N.
Accuterm, look at the Excel option, and then the
scripting to move it on.
www.asent.com
Better yet, most likely you need a consultant. Check
out Tony Gravagno. He's good at building interfaces,
and has most of the tools pre-built. He is at
http:(no spam)//nebula-rnd.com/ get rid of the
(no spam)
HTH, Patrick <;=)
"(Latimerp)" <"(Latimerp)"@comcast.net> wrote:
>Ryan N. wrote:
>> Complete MVDBMS neophyte -I may not even qualify at the neophyte
>> level- that needs a simple solution to move data -in batch
>> initially...real-time eventually- from RDBMSs such as SQL Server 2000
>> or Access 2002 (XP) to UniData 5.2.9.
>>
>> Any leads would be greatly appreciated.
>>
>> --Ryan N.
>
>Accuterm, look at the Excel option, and then t...
MATLAB command to access MS Access databaseHi!
Is there a MATLAB command which gives access to a .mdb MS Access
database or do I need a special driver?
Thanks,
Andree
Hi Andree Ellert,
you can use activeXcontrol to interact with MS-Access database.
access = actxserver('Access.Application');
returns the handle for Access.
set(access, 'Visible', 1);
will show the opened Access window.
use get(access) and set(access) commands to find the methods
available to call.
-Vadivelu M
===========
http://www.mathworks.com/access/helpdesk/help/toolbox/database/datatool.shtml
"Andree Ellert" <ellert@gmx.net/////\\\\\> wrote in message
news:eed9874.-1@webx.raydaftYaTP...
> Hi!
>
> Is there a MATLAB command which gives access to a .mdb MS Access
> database or do I need a special driver?
>
> Thanks,
>
> Andree
Andree Ellert wrote:
>
>
> Hi!
>
> Is there a MATLAB command which gives access to a .mdb MS Access
> database or do I need a special driver?
>
> Thanks,
>
> Andree
<http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=4045&objectType=file>
-Hardik
...
Access MS-ACCESS database on server from client????I m currently developing a java based application and want to know how
can i make client access database located on the server?
"HeMan_Speaks" <Lunar20092010@gmail.com> wrote in message
news:d71ce567-0434-48b8-b1d2-bb191706ab45@w8g2000prd.googlegroups.com...
>I m currently developing a java based application and want to know how
> can i make client access database located on the server?
I think you're going to have to expand a little bit more in your question
here, as is not 100% quite clear what you're trying to do.
You might want to make a little bit of a distinction between MS access, the
development system that allows you to write code, build forms, and build
reports, and that of the database engine that you choose to use with MS
access. When you build an application MS access, you then choose your
database engine, that might be oracle, SQL server, or perhaps more often
leave the default jet database.
So when you say make a client access application, are you talking about a
piece of software that you plan to install and each computer? The fact that
your introducing the issue of java further complicates your question.
Perhaps your question is simply you have some java code running on a server,
and with to open a mdb file (an access database file). In this situation
you're not really using MS access at all here (you using what is called the
jet database engine to read that mdb file). For all the trouble in this type
of sce...
exporting data from ms access to ms projectIm wondering if any on can help me to export data out of an ms access
database into ms project 2002. I want to export a start date and
completion data of different projects, which is stored in the
database. I think this process can be done invisible to the user, so
that when they enter the data into access and save it, it will
automatically create a project schedule in ms project, which they can
refer to at a later date in the application. I would appreciate if any
one can give me any advice on this matter, i.e. VBA code etc or good
web sites etc that may be of use.
Regards Rob McC, England
...
request for explanation on access an database in ms accessThis is the code that I found on the internet for accessing an ms
access database:
import java.sql.*;
class Test
{
public static void main(String[] args)
{
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
// set this to a MS Access DB you have on your machine
String filename = "d:/java/mdbTEST.mdb";
String database = "jdbc:odbc:Driver={Microsoft Access
Driver (*.mdb)};DBQ=";
database+= filename.trim() +
";DriverID=22;READONLY=true}"; // add on to the end
// now we can get the connection from the DriverManager
Connection con = DriverManager.getConnection( database
,"","");
}
catch (Exception e) {
System.out.println("Error: " + e);
}
}
}
What I don't understand is the declaration of database. What I did was
putting the database in the same dir as the sourcecode and use
"jdbc:odbc:CafeJolt.mdb". But this doesn't work. And the above code
does, why is that???
Actually it's not Java question. It's ODBC question.
You have to have ODBC connection. Depending of Windows it's usually
something like this (for my Windows 2000):
Start->Sttings->Control Panel->Administartive Tools->Data Sources(ODBC)->
User DSN -> [Add]-> Driver to Microsoft Access(*.mdb) === And here, finally
you can choose file name.
...
Read-Only ODBC Access to MS Access 2000I have created an ODBC File DSN data source in Windows XP. I have
successfully used this DSN to link tables from a Sybase SQL Anywhere
database to Access 2000.
How can you make this ODBC connection read-only?
P.S. I would like to make the ODBC connection itself read-only (if
possible) rather than adding security to the MS Access DB.
...
RE: How can I access data from MS Access?Peter, I sadly admit that I was wrong. "Doesn't seem to work" is
effectivly even more useless than "doesn't work". I give up.
Years ago we used to get our FORTRAN card decks back from the DP center
with a piece of scrap paper saysing "She No Work". top that.
On 5 Feb, 19:40, "Sells, Fred" <f...@adventistcare.org> wrote:
> Years ago we used to get our FORTRAN card decks back from the DP center
> with a piece of scrap paper saysing "She No Work". top that.
I used to use a cross-compiler (targetting some obscure single-c...
Importing MS Access data into MS WordIn the thread "combining multiple address fields into 1 address field",
Stuart (?) helped solve that problem.
I then tried to set up a mail merge in Word to check how I could use and
merge the data.
I found the database tool bar and opened the appropriate database - but...
I could not find a way to open a particular table or query in order to
insert the fields from the query into Word.
The procedure I followed was this:
- open a blank word .doc
- from the database tool bar selected "insert database"
- a window opened, headed 'Database' and divided into 3 section:
at the top a section titled "data source",
a middle section titled "data options",
a bottom section titled "insert the data into the document"
- "under "data source" I clicked "get data"
- a window headed 'Select data source' opened
- I navigated to the relevant database (mobmem07.mdb) and selected it.
- this added the database location to the "data source" part of the
'database' window
- I then looked at the "query options" section
I found I could not select a table or query from within the database I had
opened. Word had merely defaulted to opening one of the two tables in it.
The only querying I could do was on the table it had loaded from the
functions Word provided.
I could not find a way to open any other table let alone a query.
Moreover, I couldn't see a wa...
MS Access Script to import data from external mde database to mdb databaseHi,
Does anyone know of a way I can write a script that imports a table
from a particular .mde file? I don't seen any obvious way to do it as a
macro. Any suggestions if it can be done as a macro or as a written
module?
My ultimate goal is to have script that clears info out of 1 table in
an .mdb file, imports an identically structured table from a .mde file,
runs an append query I have in place to copy the data from the imported
table to the table in my.mbd file, and then delete the imported table.
Any help that could be provided would be greatly appreciated.
Best wishes,
George Hadley
ghadley_00@yahoo.com
With DBEngine(0)(0)
.Execute "DELETE * FROM Suppliers WHERE SupplierID IN (SELECT
SupplierID FROM Northwind.mde.Suppliers)"
.Execute "INSERT INTO Suppliers SELECT * FROM
Northwind.mde.Suppliers"
End With
Is this code I would run as a module?
Yes
or you could use the strings in two separate saved queries.
...
Best way to access a remote MS ACCESS databaseWhat is the best way, via the internet, to access a remote Microsoft Access
database? I was thinking of using VPN, but I thought that I would check here
to see if there is a better way.
Any suggestions?
Thanks
Do you mean remotely controlling an Access database, or linking tables over
the internet? The first is doable, the second is a recipe for disaster.
Remote Control:
If your remote OS is Windows XP, you can use Remote Desktop (although only 1
person can access the PC at a time; this will change in the upcoming Service
Pack for XP, but that may not help you now). Otherwise, GoToMyPC offers
similar services, as does Terminal Server (a component of a Windows Server
machine), PCAnywhere, et al.
Linking to remote tables:
You will almost certainly encounter severe problems with corruption, and
your performance will almost certainly be so poor as to be unworkable. I
attempted this once, with a web server in Canada and my machine in Augusta,
GA. Even tiny data requests on a very well optimized data structure took
waaaay too long to process ... it's simply not workable, IMO.
Other alternatives would be covert the app to a web-based and place your
data on a web server. Access/Jet isn't really designed for those workloads,
but running a small site with minimal transactions and users can be done.
Otherwsie, consider switching to a more robust data platform like MySQL, SQL
Server, etc.
--
Scott McDaniel
CS Computer Software
Visual Bas...
Running a ms access database with access 2003 in VistaI have a Database that I am trying to run on a new vista computer. Up
to now I was running it on a win 98 computer and using access 2003! I
installed access 2003 and I can make it run and view the data but I
can not save any new records.
Has any one seen this problem yet?
Thanks Clarence Wollman
On Wed, 22 Aug 2007 13:17:13 -0700, cwoll <clarencewollman@gmail.com>
wrote:
Do you have the same problem with the Northwind sample application?
(search your computer for northwind.mdb)
-Tom.
>I have a Database that I am trying to run on a new vista computer. Up
>to now I was running it on a win 98 computer and using access 2003! I
>installed access 2003 and I can make it run and view the data but I
>can not save any new records.
>Has any one seen this problem yet?
>
>Thanks Clarence Wollman
On Aug 22, 7:29 pm, Tom van Stiphout <no.spam.tom7...@cox.net> wrote:
> On Wed, 22 Aug 2007 13:17:13 -0700, cwoll <clarencewoll...@gmail.com>
> wrote:
>
> Do you have the same problem with the Northwind sample application?
> (search your computer for northwind.mdb)
I don't have a problem opening and editing the northwind.mdb.
Thanks
Hi
I found a workaround. This database has a fronted and a backed. When I
link them in the linked table manager, I was going threw the network
to my computer. The reason I am doing this is when any networked
computer opens the shortcut to the front end of this computer the
linked table manger knows...
1* Exporting data from Ms Access to Ms ProjectIm wondering if any on can help me to export data out of an ms access
database into ms project 2002. I want to export a start date and
completion data of different projects, which is stored in the
database. I think this process can be done invisible to the user, so
that when they enter the data into access and save it, it will
automatically create a project schedule in ms project, which they can
refer to at a later date in the application. I would appreciate if any
one can give me any advice on this matter, i.e. VBA code etc or good
web sites, books that may be of use.
Regards Rob McC, England
There is code to write from Access to Project in Scott Barker's
"Access 2000 Power Programming". Never automated Project, but the
rest of his code worked a charm, so that should too.
...
Accessing a MS Access database across two serversHi
The technical support guys at my company have set up my system so that
the server containing the MS Access database is on one server, while
the pages that should access the database are on another server.
When the pages and database are on the same server, I usually just
connect through ODBC.
The problem is that I don't know how to set up an ODBC connection to
link from one server to a database in another.
Anyone know what I am getting at and know of a possible solution, or a
link to a site which may help.
thanks in advance
Brendan
"Singularity" <Brendan.Collins@Sin...
how to access MS data access 2.7 sdk ???I keep getting the following when trying to create a connection to a
database :
Error: User defined type not declared .
The declaration it is complaining about is : c1 As ADODB.Connecton
I'm re-entering this mess from a couple of years ago, and just want to
connect to a DB2 v8.1 database from a VB app. Any suggestions, code
examples, etc., would be appreciated.
Mairhtin O'Feannag
mairhtin at techsolutionsgroupllc dot com ...
On 24 May 2004 13:31:01 -0700, in comp.lang.basic.visual.database you
wrote:
>I keep getting the following when trying to create a co...
MS Access Database right for us?Hi -- we are a small manufacturing looking for a multi-user database to
take customer orders (nothing too complicated, with 3 users total). We
think we should be using Access, but are wondering what alternatives
there are. It has been recommended to us to use ASP.net and SQL
instead, with the reasoning that:
1) Access is likely to go obsolete at some point
2) It will be more stable
Does anybody have any thoughts on this?
Allison,
Your situation sounds like an ideal task for Access. As for Access
being obsolete anytime soon I don't see that happening. Access can
handle 3 users no problem.
I would recommend that you get the Access database setup by someone
with some database experience as a poorly designed database regardless
of the application could have problems.
The ASP.net and SQL server options would require much more development
time and money.
Just my two cents...
Good luck,
-Joe
"Allison" <marimbasherry@gmail.com> wrote in
news:1140204889.603121.190570@f14g2000cwb.googlegroups.com:
> It has been recommended to us to use ASP.net and SQL
> instead, with the reasoning that:
>
> 1) Access is likely to go obsolete at some point
The person making the recommendations is clearly quite ignorant of
reality. Microsoft has already invested a huge amount of work in the
next version of Access, Access 12, which will be released as part of
the next MS Office suite, which I expect to be released along with
Windows Vista next year.
From...
Use ASP to read MS Access query that calls MS Access functionHi:
I have an MS Access query for a table called MyTable. One of my
fields in the query is a custom field that looks like "MyField: =
MyFunction(ID)" where ID is a field in MyTable.
I have ASP code and I can use it to read the query OK when "MyField"
is not part of the query. If I add in MyField and then run my ASP
code to try to read all the query fields, I get an error message on my
web browser which says something to the effect of "cannot find
MyFunction." On the Access side, I have MyFunction set up in a module
and use the keyword "Public" in front of the function name. What else
do I need to do to get my ASP code to run this query. I'm trying to
avoid reproducing MyFunction within the ASP code if possible.
Thanks.
Kevin
On Thu, 14 Jun 2007 21:38:19 -0000, k-man <kmccrack@gmail.com> wrote:
Sorry, no can do. From ASP you don't have access to the Access VBA
interpreter.
-Tom.
>Hi:
>
>I have an MS Access query for a table called MyTable. One of my
>fields in the query is a custom field that looks like "MyField: =
>MyFunction(ID)" where ID is a field in MyTable.
>
>I have ASP code and I can use it to read the query OK when "MyField"
>is not part of the query. If I add in MyField and then run my ASP
>code to try to read all the query fields, I get an error message on my
>web browser which says something to the effect of "cannot find
>MyFunction."...
left() and right() function in MS SQL vs MS ACCESSI normally use MS ACCESS vs MS SQL,, which has a left() and right()
function. I need to use MS SQL for this project but I am not familiar
with it. I have read a few books, but can not figure out how to do
this. Please help.
If I need to compare the first 4 letters of a field, with the first
four letters of another field, how can I do this?
Select field1, field2 FROM table1 Where left(field1,4)=left(field2,4)
(MS SQL does not have left() and right() functions)
Please help.
In addition, I have a CSV file with data like 10.20, which I import
inrto a numberic field. Unforunately the value...
Accessing 2 tables having same name but different databases ms-accessHi,
I have an application with MS-Access as backend and JSP/ tomcat as
frontend/webserver.
For getting better response time(as access is very slow compared to
other RDBMS's), I have split the main DB into two DB's on different
disks on my server for better performance.I have kept the table names
same but changed the DB names. How do I access tables from both the
DB's?
This is what I have done; I made different connection to the
respective DB's i.e. con and con2. When I want to access data, I am
using 2 result sets for retriving data from the tables, but getting no
result. Here is my code:
rs2_1=stmt2_1.executeQuery("select * from Requests where
Status='Released' AND LoginName='"+login+"' order by Req_No");
rs=stmt.executeQuery("select * from Requests where Status='Released'
AND LoginName='"+login+"' AND Req_No> 5500 order by Req_No");
So, rs & stmt are for latest records and rs2_1 & stmt2_1 correspond
the records from older DB.
I think, I'm forgetting some small thing but cant get it.
Please advice.
What do you mean "no result"? Does "next()" return false for both rs2_1 an=
d rs?
If you're really trying to improve response time, you should probably be ru=
nning the two queries in separate threads ... but as you acknowledge, Acces=
s may not have as high performance as other RDBMSs. You would also see rel=
iability adv...