I am using a program called IDWorks which is reading and writing to an
MS Access format database. The IDWorks program can't adjust the
formatting on a displayed field in a way that we need so I need a way to
duplicate a field in Access so that it will have the exact copy of the
other field. Is there some way to have a field definition set up so that
it has the exact same contents? (ex. an entry such as "=[field1]"). For
that second field, is there a way to display only the first character of
the field through formatting? (ex. display "J" if the full field content
is "John")
Thanks. 7 2005
On Tue, 01 Aug 2006 19:34:42 -0400, MN <mn@mn.mn.inval idwrote:
>I am using a program called IDWorks which is reading and writing to an MS Access format database. The IDWorks program can't adjust the formatting on a displayed field in a way that we need so I need a way to duplicate a field in Access so that it will have the exact copy of the other field. Is there some way to have a field definition set up so that it has the exact same contents? (ex. an entry such as "=[field1]"). For that second field, is there a way to display only the first character of the field through formatting? (ex. display "J" if the full field content is "John")
Thanks.
It's almost certainly NOT necessary to store the field redundantly in
order to do this. No, you cannot have a Table set up to automatically
do so.
Can IDWorks link to a Query, rather than directly to a Table? If so,
you can just select the field twice. Or, to see only the first
character of the field, use a calculated field such as
Initial: Left([field1], 1)
John W. Vinson[MVP]
In article <tk************ *************** *****@4ax.com>,
John Vinson <jvinson@STOP_S PAM.WysardOfInf o.comwrote:
On Tue, 01 Aug 2006 19:34:42 -0400, MN <mn@mn.mn.inval idwrote:
I am using a program called IDWorks which is reading and writing to an
MS Access format database. The IDWorks program can't adjust the
formatting on a displayed field in a way that we need so I need a way to
duplicate a field in Access so that it will have the exact copy of the
other field. Is there some way to have a field definition set up so that
it has the exact same contents? (ex. an entry such as "=[field1]"). For
that second field, is there a way to display only the first character of
the field through formatting? (ex. display "J" if the full field content
is "John")
Thanks.
It's almost certainly NOT necessary to store the field redundantly in
order to do this. No, you cannot have a Table set up to automatically
do so.
Can IDWorks link to a Query, rather than directly to a Table? If so,
you can just select the field twice. Or, to see only the first
character of the field, use a calculated field such as
Initial: Left([field1], 1)
I wish that I could do something like that but I'm unfortunately limited
by what IDWorks can access. It basically only accesses the tables and
data. It cannot access queries, forms, or reports.
On Tue, 01 Aug 2006 20:13:27 -0400, MN <mn@mn.mn.inval idwrote:
>I wish that I could do something like that but I'm unfortunately limited by what IDWorks can access. It basically only accesses the tables and data. It cannot access queries, forms, or reports.
TRULY bizarre. It can access Forms but not queries!!!??
Two suggestions then: use a Form, with two textboxes bound to the same
field (or, use one with the =Left() expression); or, run an Update
query to populate the second field.
How is data being entered into the table normally?
John W. Vinson[MVP]
In article <ti************ *************** *****@4ax.com>,
John Vinson <jvinson@STOP_S PAM.WysardOfInf o.comwrote:
On Tue, 01 Aug 2006 20:13:27 -0400, MN <mn@mn.mn.inval idwrote:
I wish that I could do something like that but I'm unfortunately limited
by what IDWorks can access. It basically only accesses the tables and
data. It cannot access queries, forms, or reports.
TRULY bizarre. It can access Forms but not queries!!!??
Two suggestions then: use a Form, with two textboxes bound to the same
field (or, use one with the =Left() expression); or, run an Update
query to populate the second field.
How is data being entered into the table normally?
John W. Vinson[MVP]
It gets weirder ... it actually can't even access a form. Basically,
IDWorks is just using an Access-format database to store its data. It's
similar to another program writing its data to a comma-delimited text
file or an XML file.
On Wed, 02 Aug 2006 00:12:04 -0400, Tim <ti*@nospam.org .comwrote:
>It gets weirder ... it actually can't even access a form. Basically, IDWorks is just using an Access-format database to store its data. It's similar to another program writing its data to a comma-delimited text file or an XML file.
OK. So IDWorks writes data into this table, and you need to - what -
modify the table? add this other one-letter field? - and have IDWorks
read the new table back out?
WHat's the process here? What are you actually trying to accomplish,
in Access?
John W. Vinson[MVP]
In article <k8************ *************** *****@4ax.com>,
John Vinson <jvinson@STOP_S PAM.WysardOfInf o.comwrote:
On Wed, 02 Aug 2006 00:12:04 -0400, Tim <ti*@nospam.org .comwrote:
It gets weirder ... it actually can't even access a form. Basically,
IDWorks is just using an Access-format database to store its data. It's
similar to another program writing its data to a comma-delimited text
file or an XML file.
OK. So IDWorks writes data into this table, and you need to - what -
modify the table? add this other one-letter field? - and have IDWorks
read the new table back out?
Exactly. That way I can apply different formatting to the 2 different
fields which both have the same data -- I'd like one field to just
duplicate the data on the fly, kind of like a shortcut in Windows or a
symbolic link in Unix. It involves a problem with needing to place the
full name on the front of an id card and encoding just a portion of the
name on the magnetic stripe.
WHat's the process here? What are you actually trying to accomplish,
in Access?
John W. Vinson[MVP]
On Wed, 02 Aug 2006 01:47:28 -0400, Tim <ti*@nospam.org .comwrote:
>Exactly. That way I can apply different formatting to the 2 different fields which both have the same data -- I'd like one field to just duplicate the data on the fly, kind of like a shortcut in Windows or a symbolic link in Unix. It involves a problem with needing to place the full name on the front of an id card and encoding just a portion of the name on the magnetic stripe.
Then you'll need to run an Update query in some appropriate event.
A Format *will not do what you want*. Formatting will change how text
is displayed, but it will not *truncate* or change the actual content
of text; and formatting isn't applied when you export data in any
case.
John W. Vinson[MVP] This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jim Witte |
last post by:
Hi,
How do I set a file input element? If it's a text input, I can set the
value property. But this doesn't work with file inputs.
And no, I can't change it - I'm writing a script to automate a process
on an existing system.
Jim Witte
jswitte@bloomington.in.us
|
by: Hasan Ammar |
last post by:
Is it possible to set up hotkeys using onkeypress? I know it can be
done with the usual alphanumeric keys, but what about function keys?
or using ctrl/alt combinations? Does anybody have a tutorial/guide?
|
by: Adam Lipscombe |
last post by:
Folks,
I need to get the contents of a form attribute.
In Read/Write mode this is field, so I can use getElementById("name").value
In ReadOnly this is just plain text, so I can use
getElementById("name").innerText.
I need to do it dynamically though, so is there anyway I can look at the
object returned by getElementById() and determine if it was a field or a
|
by: Jonathan Strange |
last post by:
I have a website that uses Forms, and if I complete the form fields,
submit the form, realise that there was an error or omission, and then
hit the Back button, the form fields are all empty. This is extremely
frustrating.
However, what's more frustrating is that this behaviour doesn't happen
all of the time - sometimes the field contents will still be there,
and other times the fields will be empty. Also, sometimes the one form
will...
|
by: Omey Samaroo |
last post by:
Dear Access Gurus,
Can anyone provide me with some much needed assistance.
I would like to combine the contents of 3 text fields into one field. Can
someone provide some code or a method to do so.
Please and Thanks
Omey
| |
by: Dixie |
last post by:
Can I set the Format property in a date/time field in code?
Can I set the Input Mask in a date/time field in code?
Can I set the Format of a Yes/No field to Checkbox in code?
I am working on a remote update of tables and fields and can't find enough
information on these things.
Also, how do you index a field in code?
|
by: PJ6 |
last post by:
From a control's onkeypress the below javascript snippet is executed. I am
attmpting to set the value of a hidden field... I believe I'd be able to get
the contents of the hidden field by using
"Page.Request.Item(MyHiddenFieldName)" sever-side, no? Unfortunately the
field doesn't look like it's even being set. Is there something special I
need to do?
TIA,
Paul
|
by: laredotornado |
last post by:
Hi,
I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed
using Apache's apxs and the php library was installed to
/usr/local/php. However, when I set my "error_reporting" setting to be
"E_ALL", notices are still not getting reported. The perms on my file
are 664, with owner root and group root. The php.ini file is located
at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem
to be having an effect? ...
|
by: ivijayan |
last post by:
HI.
I have the following query:-
How do i create field which updates its contents on the basis of data in another field in same record.
especially if I have a Date field, how can I change the contents of Status field in the same record based on the date field. for ex:-
- If the date is maximum the content in status should be "Current"
- If there are 2 records for one ID and if the date field content is minimum the content in status...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |