Good morning Crystal,
I am able to edit the field values in MsysIMEXColumns table. I changed the data type of the price field from 7 to
---In MS_Access_Professionals@yahoogroups.com, <strive4peace2008@...> wrote :
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
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: winberry.doyce@con-way.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (6) |
Tidak ada komentar:
Posting Komentar