Hi folks
I'm just getting my feet wet with Access so I'm doing a little project that ultimately will (might?) interface with my personal ledger spreadsheet.
I want to keep track of the different stores/restaurants/gas stations I go to, and one column in my "Merchants" table has the name of the chain (or the standalone store name if it's not part of a chain) and a separate field has the location name (if there is one on the receipt, the way Target and some other stores do) and another separate field has the store number (if known).
Is it possible to create an additional field that will contain a concatenation of a chain name & location name? For instance, in record #14, the chain name is "Target" and the loc name is "Ridgedale" (the store is in the Ridgedale section of Minnetonka, Minnesota thanks for asking). Can I create a field, say "fullname" and in this particular record it would (I risk the obvious) read "Target Ridgedale?"
I know Excel does that very easily with the & operator but I'm clueless about Access.
========
OPTIONAL: Lengthy, plodding answers to anticipated questions
========
Q. Why the heck don't you just have one, "fullname" field take care of business in the first place instead of two silly fields?
A. Granularity.
Q. So then why do you want this less-granular fullname field in addition?
A. When I fill out my ledger spreadsheet, there is one, only ONE Excel column for "Merchant." "Target Ridgedale," "Lunds&Byerlys Plymouth," "CVS #6810" are sample values, and Excel's auto-complete feature gets a lot of use from me (don't we all usually visit the same handful of stores). When I click "Save" after making new ledger entries, a VBA script is going to get the value in "Merchant" and then dig my Access database for that merchant (hopefully querying this "fullname" field I'm dreaming of). The database also has info on city & state for each retailer, those values will be gleaned from Access and copied into the "city" and "state" columns on the spreadsheet. (Other whiz-bang stuff will take place as well but that's looking too far ahead.)
So! Auto-concatenated fields. Can it be done?