Rabu, 27 Maret 2019

Re: [MS_AccessPros] Export spec truncating number

 

hi Doyce,

show the system tables in the navigation pane. The tables that store import/export specs are:

MsysIMEXspecs
MsysIMEXcolumns

While you cannot modify the tables directly, you can use APPEND queries to add records to those tables -- and you can delete records from them directly. You can probably use UPDATE queries on them too, but what I usually do is

1. make-table from the columns of a spec using MsysIMEXcolumns
2. delete rows from MsysIMEXcolumns for a particular spec
3. modify specs
4. use APPEND query to write records back to MsysIMEXcolumns for a particular spec

have an awesome day,
crystal

free code you can use in your projects
https://msaccessgurus.com/code.htm

On 3/27/2019 6:14 AM, winberry.doyce [MS_Access_Professionals] wrote:

Good morning Bill,


The field's data type was double. I changed it to currency but that has no effect at this time. How do I edit the spec? I can't even remember how I created it. It's been too long. :-)


Doyce



---In MS_Access_Professionals@yahoogroups.com, <wrmosca@...> wrote :

Hi Doyce

 

What is the spec field's data type? Currency should hold 4 decimal places. You probably just have to edit the spec and save it as the same name.

 

Regards,

Bill Mosca

 

From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Tuesday, March 26, 2019 6:47 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Export spec truncating number

 

 

Hello Pros,

I created an export specification years ago that has worked perfectly for about 15 years. It exports a table to a csv file. The table comes from invoice detail. Now for the first time ever, we invoiced something at .375 each instead of whole pennies. When the file is exported, the spec truncates the price to .37 even though the table shows the price correctly as .375. How can I fix this? I know the spec is hidden and I can't remember how I created it in the first place. I have googled this but have only found answers for saving exports. I guess I'm not using the corrct search terms. Here is the code I run to export the table.

DoCmd.TransferText acExportDelim, "ARInvoiceDetailUpload Export Specification", "tblARInvoiceDetailUpload", "N:\Accnting\AR Upload\RSI_AR_INV_LINES_" & Format(Date, "mm_dd_yy") & ".rsl"

Thanks in advance.

Doyce Winberry

__._,_.___

Posted by: crystal 8 <strive4peace2008@yahoo.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


SPONSORED LINKS
.

__,_._,___

Tidak ada komentar:

Posting Komentar