Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Access Newsgroups
Access General
Macro required for moving data between tables in specified format
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="John W. Vinson, post: 7404204"] You're trying to alias the field [NAMOUNT] under the "new" name [NAMOUNT], and the same for several other fields. That's what's circular - you can't reuse the same name. If you're not renaming the field just select it without the AS clause. If ACCNT_CODE is Text and you need to insert a literal value, enclose it in quotemarks. I'm perplexed though - you say "we don't store 271" but then say "it should be automatically done on the append query" - what do you want inserted into ACCNT_CODE? You'll have to construct the entire SQL string in VBA code then. You can't change the tablename in a parameter. I'm going to have to driink a cup or two of coffee and read this over again. Right now I'm completely confused about where you're getting these values and where you want to store them. I'll be back though... -- John W. Vinson [MVP] Microsoft's replacements for these newsgroups: [URL]http://social.msdn.microsoft.com/Forums/en-US/accessdev/[/URL] [URL]http://social.answers.microsoft.com/Forums/en-US/addbuz/[/URL] and see also [URL]http://www.utteraccess.com[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Access Newsgroups
Access General
Macro required for moving data between tables in specified format
Top