Solved

Create a new field in a query that is populated with user input.

Posted on 2011-02-13
3
406 Views
Last Modified: 2012-05-11
I can create a new field in a query and hard code a value or blank value.  Is it possible to create a new field in a query that is populated with data keyed into a prompt from a user?  The data keyed into the prompt can be anything and will not be used to filter query results at all.  It is simply a variable field that will show in the query results.
0
Comment
Question by:vsllc
3 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
Comment Utility
Sure ... like this:

SELECT Table1.*, [Enter Your Data] AS MyPrompt
FROM Table1;


mx
0
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
select f1,f2, [Enter Data] as f3
from tablex
0
 

Author Comment

by:vsllc
Comment Utility
Worked perfectly!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now