Transfer Text
Mar 9, 2007
I have a macro which transfers a fixed width file to my desktop. The name is neppow.txt. Can I have this file land with the date dynamcially populated in the name?
Example:
neppow_20070308.txt today
neppow_20070309.txt tomorrow
thanks!
View Replies
ADVERTISEMENT
Nov 13, 2007
does anyone know what this code would be like in DAO ?
[code]
DoCmd.TransferText acExportDelim, "My_Transform", "Table", "C: empxxx.csv"
[code]
View 6 Replies
View Related
Aug 22, 2005
Hi
I have setup a query from which I have setup a macro which exports the queried data to a .txt delimited file, does anyone know how I can stop it putting Quotes aroung each field and just leave the commas in.
Thanks,
Lisa
View 2 Replies
View Related
Nov 12, 2013
so i have MainForm and PopUp (which is also a form). on the MainForm there is a command button that brings up the PopUp form. on this PopUp form, some data will be entered then the PopUp form will be closed via a command button.
whats the code i would need to take a value from a control on PopUp and place it in a control on MainForm, ideally when the command button closes the PopUp form.so i know it has to go on the command button's on click event, probably before the close form code lol... but i cant figure out how to get the value to transfer over..
View 3 Replies
View Related
Mar 30, 2007
if i receive an email consisting of the following:
Name: Antony
Phone: 887
Country: UK
can there be a way to transfer these details from outlook into an access table with 3 identical fields?
View 4 Replies
View Related
Apr 12, 2005
I have a main data entry form (frmpartquote). From this form I would like to open a new form (products) to create a sub set of records.
When I open the new form to add products to a main quote I would like to transfer the quotenumber on the quote form to the quotenumberfield in the products form.
I use the following code in the on open event in the product
Private Sub Form_Open(Cancel As Integer)
If IsOpen("frmpartquote") Then
partquotenumber.DefaultValue = Forms!FrmPartQuote!partquoteid
End If
End Sub
Now this works fine as long as the field is a number.
However I would like to use tartquotenumber as a text field
any ideas how I will do that....
thanks
:confused:
View 4 Replies
View Related
Aug 23, 2005
This is a price check form so it doesnt need to be saved it just needs to display the part no info and quantities with price
If i enter a part no into a text box(PN1) on the main form it enters the data into a textbox(PN2) on a subform.
Im using a continuous form on the subform and the master/child link is the Part No text box.
is there a way to lock the first item to the first line and then be able to enter a second item to display on the next line.
I have made the size of the continuous form to one line in my subform but i am only able to enter one part no into the subform because when i setfocus to the PN1 textbox on the main form it clears the first line.
thanks
View 1 Replies
View Related
Jan 27, 2015
I have a simple query and I want to export it in excel, Comma Separated Value., .CSV
I tried to run DoCmd.TransferText but all of my attempts were futile.
I found it, I must export it as TXT and file suffix insert .csv instead of .txt and it works
Now can I execute this "Saved Exports" through a macro or docmd ?
I insert a picture just to make it more clear.
[URL]] ......
View 4 Replies
View Related
Jan 5, 2012
I have filed that has been uploaded from excel file in this format 20110307 , but I need this filed named postdate in date format such as 03/07/2011 . How to transfer text filed into date .I use Format([PostDate],'mm/dd/yy') in update query , but the data completely disappeared off the field.
View 1 Replies
View Related
Oct 17, 2007
I'm building a report that requires me to concatenate several fields plus additional words, etc. But not all of the fields are the same data type. I have the date formatted the way I want it in a date/time field in one table (dd mmmm yyyy), and I want to append that date into a text field in another table, maintaining the same format.
Now, when I do a normal append or update query, it appends as medium date format (dd-mmm-yy). If I change the field type in the original table from date/time to text, it also shows up in medium date format.
Any ideas on how to make this work, or other options for concatenating fields with different data types?
edit: I don't want to change the data type of the original field to text.
View 2 Replies
View Related
Mar 23, 2014
I have a Table with a Field set to Number, Single, Fixed, 2 Decimal points in which I enter Hours (ie 11.25) then at some point I want to extract those new entries to create a Text file transfer.
I have a Macro which extracts those new entries from the main Table and copies/appends them to a new Table which contains only the new data I need to create the File to upload into a Payroll system (using TransferText option).
It all works well EXCEPT, the File it creates insists on showing 8 decimal points and I just cannot get it to show 2 only.I have tried using a calculated field, setting the secondary Table field to Text.why or where these 8 decimals are coming from.
View 2 Replies
View Related
Jul 16, 2012
I have used Transfer text cmd to export query to text in MS access. This works fine. path= "D:/test/"DoCmd.TransferText acExportFixed,"Query1",path,False But i need to change the path dyanmically as my wish when i run this query. Like i may save my txt in desktop or C: or D:. I dont want to hard code path as above.
Is there any way to achieve this? If i get the dyanmic location stored in path variable i can achieve it. But i dont know how to achieve this.
Actually i was confused
Docmd.OutputTo acOutputQuery,query1
Above query prompts me for selecting location. But transferText doesn't? why?
As this application is stored on server. If i give a static path, its exporting in Server D:/test/ But i need this to be stored in my local. This can be done only if it prompts box for user to select the location.
View 5 Replies
View Related
Jan 27, 2005
You'll have to forgive me I kinda new at this. I have a form with a non linked subform on it. The main form has one control on it called CustomerID, the subform's record source is from a select query that is updated by a cmdButton on the main form. The cmdButton runs an update query. One of the controls in the subform is called CustomerID, this control has no other purpose than to hold the same value that the main forms control (CustomerID) has. I want the cmdButton's OnClick event to transfer the value from the mainform CustomerID and place it into the subform CustomerID. Any help on this would be greatly appreciated.
View 3 Replies
View Related
Sep 8, 2005
Hi there,
This is my problem i am going to try and explain myself as clearly as possiable hopefull you will be able to understand me.
When i enter my data bank through Access, a mask opens or is it a form i am not too sure but i have sent an attachment with the sceen image.
Lets say i am looking for the data of John. I click on search and i find him. Now my Mask or form has sub forms in them for diffent information, i have made a large red circle on the attached picture to show what exactly i am talking about. These sub folders contain information such as gernerall information, bussiness information etc.
All this information ... data is part of john 's dataset or data record. SO what i want to do is take his data all of it and send it to john himself and he then can edit it and send it back to me and i want to check it and if i am satisfied with the data i can update the new information automatically into my database. and i want to beable to edit it myself too. i want all his data to be like a data book of john. The editing can take place it any problem such as Accesss itself or word or excell i just wan to be able to edit and transfer my data without damaging or loosing information.
My probles are as follows:
1) how to send john's information all of it
2) how to add it back to my database both automacticly and manuelly
3) how to edit his data as a whole, not bits and pices. as if it was one long report.
Thanks i hope i was clear enough
View 5 Replies
View Related
Jan 24, 2007
Evening Gents.
I've created a database which is going to need a fair amount of data uploading into it (a long laborious procedure).
My initial plan to cut the work load for one person was to create 2copies of the database and split the upload in half (get two people to do it).
However, one of my tables is a parent to around 4 childs, therefore when i copy the information from this parent table in datasheet view from one db to another, it doesnt transfer it's associated data.
Is there anyway to get around this? Any advice/tips/hints would be much appreciated
(hope this has made sense, please let me know if clarification is needed)
View 1 Replies
View Related
Nov 29, 2007
Im stuck on a project that I have received help on before. I am trying to E-Mail a daily report created by a macro in Access 2000. It needs to go out as an excel spreadsheet, but in a format that can be opened in a Blackberry. The advise i was given was to use Transferdatabase. This is where i become unstuck. No matter what I type where i come unstuck. Is there anyone out there that can possibly advise me what to do in "idiot proof" steps?
Im afraid my knowledge of Access is limited to 2 weeks self taught knowhow ?
View 7 Replies
View Related
Dec 14, 2007
I need to set up an automated process to transfer data from about 25 tables from one database to another. This will happen on a weekly basis and I'm wondering what the best way to set this up is.
Both are Access 03 db files. The main database has data for a dozen or so clinics and I need to get the data for one clinic out and in to the the secondary db. The data in the secondary db will be replaced every week with fresh data from the main db. Once it is refreshed with new data the clinic will download the db from our site.
My first thought is to just export queries to CSV files and then import them in to the secondary db file. If run from a macro it could be a scheduled task. I could then import the CSV files. This could also be automated with a macro.
Any other ideas.
View 7 Replies
View Related
Jun 5, 2006
I've transferred a database to a new PC, with Office 2002 installed.
The forms hold some text data and a photograph.
The database loads and displays correctly.
But I cannot add a new photograph. I get a message something like: Microsoft Access cannot get the OLE something-or-other. Sorry for the lack of detail, but I'm sending this from another PC.
Is there something (on Disc 2 of Office 2002?) that I need to install after I've installed Access & the rest of Office? Should I have opted for a full installation?
After much messing around, I got rid of this error - but still no photo. Instead, the filename of the photo is displayed in the window where the photo should be.
Please help!!!
View 1 Replies
View Related
Jul 27, 2007
I have a database scheduled to run nightly. In this database I have a macro that runs a macro. I want one of the arguments to export "T_Update_Log" from the database to an excel file as part of it's nightly macro. When I use "Transfer Spreadsheet" in my macro, it creates a new worksheet in my excel file each night (for example: T_Update_Log1, T_Update_Log2, etc) Instead, I want it to overwrite existing one.
I have also tried "Export" command, but that throws a prompt asking if I want to overwrite the existing excel file. I cannot have any message prompts during my nightly task or else it will stop the whole process. Setting the Warnings to No does not stop this particular message prompt.
Thoughts? Thanks in advance!
View 2 Replies
View Related
Apr 27, 2005
A customer wants to do electronic funds transfer from an accounts receivable system that I wrote for them. The only information that I have gotten from their bank is that the data should be in ACH (automated clearinghouse) format. I have never dealt with this before, but I assumed that I would just have to output the data in probably an ASCII file. I have been searching the net, but have only seen software or services that handle this. I haven't found any definitive information on exactly what the details of ACH format are. I was also surprised not to find any threads here about this. I'm sure there are plenty of those who have already dealt with this.
Any thoughts would be appreciated.
Thanks in advance.
View 2 Replies
View Related
Sep 16, 2005
I am creating a Transport databse and got stuck into something.
I have created a master table " Vehicle Details " which inlcudes all the details of cars. Then i created two sub-tables " Vehicles in Garage" and " Vehicles assigned to Drivers". I will be using the forms ( ofcourse :) ) to enter and edit data. What now i want to do is from a master table i want to tranfer all details of a particular car either to " Vehicles in Garage" or " Vehicles assigned to drivers" tables/forms.
Is this possible ?
Thanks
P.S. I hope this is the right section for this .
View 14 Replies
View Related
Oct 1, 2005
Hi,
I am new to using access, and agreed to work on a site not designed by me.
We want to host this site elsewhere but I am having difficulties backing up the access database; I can't find a way to copy the stored procedures.
Is there a way to export or save the entire database, including the stored procedures? I suspect that this must be a very common task but I could not find any info on how to do this.
Any help would be greatly appreciated.
Kind regards,
Mukti
View 1 Replies
View Related
Nov 4, 2005
Hi Guys,
Ok, all i want to do is that when i select a value from my combo box to be displayed in a text box, once its been selected, the value is then deleted from the combo box, any ideas????
View 3 Replies
View Related
Apr 3, 2006
Hi,
I work in a hospital where each ward has its own identical but UNLINKED staff database. I wanted to make a single database but the management was adamant that for confidentiality they should each be standalone. I lost this argument!
Data is stored in 7 tables: Identity, annual leave, sick leave, qualifications, etc.
Too late, someone has realised that staff may transfer from one ward to another, so the whole record needs to be transferred. What's the best way to do this?
So far the process I have come up with is:
Choose the person you wish to export from the source database
Run 7 queries to export the records from the various tables e.g. to Excel
Create linked tables in the target database to pick up these records
Run import queries.
I set up a macro to run the 7 export queries, using the "OutputTo" action and specifying .xls for the output format. But the files created don't appear to be readable by Access. In Explorer, they only have the Windows icon and are just "files".
Does anyone know a better way to tackle this problem?
Thanks in advance for any assistance.
Pat.
View 3 Replies
View Related
Apr 3, 2006
I work in a hospital where each ward has its own identical but UNLINKED staff database. I wanted to make a single database but the management was adamant that for confidentiality they should each be standalone. I lost this argument!
Data is stored in 7 tables: Identity, annual leave, sick leave, qualifications, etc.
Too late, someone has realised that staff may transfer from one ward to another, so the whole record needs to be transferred. What's the best way to do this?
So far the process I have come up with is:
Choose the person you wish to export from the source database
Run 7 queries to export the records from the various tables e.g. to Excel
Create linked tables in the target database to pick up these records
Run import queries.
I set up a macro to run the 7 export queries, using the "OutputTo" action and specifying .xls for the output format. But the files created don't appear to be readable by Access. In Explorer, they only have the Windows icon and are just "files".
Does anyone know a better way to tackle this problem?
View 1 Replies
View Related
Sep 18, 2006
ok, basically our website will input form details directly into a database. this database will be held online obviously..
once the details are inside, how easy will it be to transfer a record into a table of another database.. (our main database.. which is offline for security purposes).
im assuming it wont be too hard.. both access versions are the same.. and they can both be open at once.. etc..
can anyone shed some understanding on this issue
View 1 Replies
View Related