Dear forum,
I am currently building my first Access (XP) database from scratch, and
I would like to be able to enable users of this database to enter a
filename in an Access form so that, once the filename has been
specified, the (.dbf) file is copied and given a new name. Can anybody
help me with this?
(I then hope to use some borrowed code to link to the file from the
database and append the data it contains to a table in my database, but
that will have to wait until I've managed the first step, since I can't
link to the .dbf file unless the name is in the correct format - no
more than eight characters long, including spaces. ) 3 3216
Paddy wrote: Dear forum,
I am currently building my first Access (XP) database from scratch, and I would like to be able to enable users of this database to enter a filename in an Access form so that, once the filename has been specified, the (.dbf) file is copied and given a new name. Can anybody help me with this?
Look at DIR and NAME in help. Look at the examples in the help file for
each topic.
You might want to go to http://www.mvps.org/access/api/api0001.htm for a
FileOpen/Save dialog solution to get your filenames.
(I then hope to use some borrowed code to link to the file from the database and append the data it contains to a table in my database, but that will have to wait until I've managed the first step, since I can't link to the .dbf file unless the name is in the correct format - no more than eight characters long, including spaces. )
On Tue, 16 May 2006 15:52:36 GMT, salad <oi*@vinegar.com> wrote:
Also look at the FileCopy function to actually copy the file.
-Tom. Paddy wrote:
Dear forum,
I am currently building my first Access (XP) database from scratch, and I would like to be able to enable users of this database to enter a filename in an Access form so that, once the filename has been specified, the (.dbf) file is copied and given a new name. Can anybody help me with this?
Look at DIR and NAME in help. Look at the examples in the help file for each topic.
You might want to go to http://www.mvps.org/access/api/api0001.htm for a FileOpen/Save dialog solution to get your filenames.
(I then hope to use some borrowed code to link to the file from the database and append the data it contains to a table in my database, but that will have to wait until I've managed the first step, since I can't link to the .dbf file unless the name is in the correct format - no more than eight characters long, including spaces. )
Thank you both! I'll give that a try right away.
Paddy This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Etienne Charland |
last post by:
Hi, I have a solution containing 6 C# projects; 1 WinForms project and 5
class libraries. I didn't have any problems until recently. I added a new
project containing reports. I am using...
|
by: G. Dean Blake |
last post by:
In a ASP.NET Visual Studio project I have a webform named FinResults_AR.aspx
and its associated vb and resx files. I want to copy and rename to
FinResults_GL so that I have an exact duplicate...
|
by: Woody Splawn |
last post by:
I am somewhat new to VS.net in general. As a result I am prone to make
mistakes. When adding some new feature to a a form it would be nice if I
could back it up before trying something that might...
|
by: TheSteph |
last post by:
In VS 2005 Form files are in 3 parts : From1.cs, Form1.Designer.cs and
Form1.resx.
In VS 2003 there is only one ".cs files".
How can I split my old VS2003 ".cs files" files in 2 files :...
|
by: jiang.haiyun |
last post by:
Hello all,
when i import SOAPpy, the python crashed and print out 'usage:copy
source destination'.
As follows:
############################
haiyun# python
Python 2.4.1 (#2, Mar 28 2006,...
|
by: Avi |
last post by:
Hi,
Is there a UNIX C system command that will let me copy a file?
I am looking for something similar to "cp" that can be called within a
C program.
I know of the "link" system call but this...
|
by: =?Utf-8?B?VGVycnk=?= |
last post by:
Hi,
Is it possible (w/o generating a gazillion errors) to copy a form in VS
2005 so that it can be modified and reused. In other words, I have a form,
alot of which I wish to use in a different...
|
by: Tom |
last post by:
Every week our web guys publish the web site to all of our servers by
logging into the server and doing a copy - paiste. We want to elminate the
developers from logging into each server and doing...
|
by: troy_lee |
last post by:
Let's say I have a template form named Form1. I have two text fields
named Month and Year.
Using an event procedure from another form, I want to:
1) Open the template form
2) Name the form...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |