473,388 Members | 1,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

ColumnHistory() generating display error

Source: 2007 Call Tracker template DB. After generating a few records and putting in some comment data, I wanted to add a policy reference to each call. I added a policy table with two fields; pid, pName. I added a field to the Calls table called policy and set a one-to-many relationship with policy.pid. The policy table is populated. Before I add policy.pName to the Call Details form, I can see comment history. After adding the field, the comment area generates #Error. I didn't do anything to the comments field, so I don't understand why it's throwing an error. help me understand. thanks!
Feb 20 '17 #1
3 1274
So digging around the interweb for the columnhistory syntax, there were a few comments about having to replace the [RecordSource] alias with the actual table name. Making this change works to correct the history error. However, I am still not clear on why the introduction of the new table's field on the form generates the error. I would be interested in the explanation, if anybody can provide it.
Feb 23 '17 #2
jforbes
1,107 Expert 1GB
I don't have a copy of the Call Tracker Template Database, so I can only go from what you have supplied. I would guess the reason using the Table Name as the RecordSource seems to work is that it returns all the fields in the Table, compared to what was there before, which I would guess was a Query which was returning only specific fields.

What concerns me most is that now that you have changed the RecordSource to the Table, if the previous RecordSource was bringing in a field that is not in the Table, or it was calculating a field, you may have some new problems with missing fields on your Form.
Feb 23 '17 #3
no. I didn't change the recordsource property. I changed the field query all together. I think, because the recordsource function is a form property, it assumes the table/query/formSQLexpression is recordsource for everything in the form. In this case, I am adding a form selection box from a different table which isn't part of the form.recordsource property. Referencing calls.comments directly removes the dependency on the funciton property.
Feb 23 '17 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Paul Rowe | last post by:
Hello; I am wondering if anyone knows of a way to issue the CONNECT BY clause on data that contains cycles? I have a business requirement that specifies that cycles could be present in the data...
4
by: ScottH | last post by:
I am running 7.2 with fixpack 10a under W2K. I got a backup from someone else in an attempt to debug a data issue. The other person created the database with UTF-8 (codepage 1208), so I created a...
8
by: Dinesh Jain | last post by:
Hi al,, I have written a code which displays directory listing of files from FTP server directory.I display all the files in a listview with its associated icons. To display icons, I get the...
2
by: c676228 | last post by:
Hi, I have several user controls like email, phone,ssn etc. each has it's own validation message in its user control already. When I bring all those user controls in an aspx page, I would like to...
2
by: seberino | last post by:
Why can't I import gtk (pygtk) module? It appears gtk module want X perms? >>> import gtk Traceback (most recent call last): File "<stdin>", line 1, in ? File...
2
by: jay123 | last post by:
Hello, I am making a project in VS2008, C#. Background of prob: I have integrated a postcode(UK- its like if someone enters postcode and clicks button to retrieve the address, he gets all the...
2
by: kummu4help | last post by:
Hi, i have a following form. <form id="frm_signup"> <b>please fill the following registration form.All the fields are compulsory</b><br/><br/> <table border="0" cellpadding=""...
0
by: Helena Tran | last post by:
I'm doing a dropdown-menu, and combine JS. It's display well in all browser, but it has an error when displaying in IE 7,8 browser: Menu dropdown in normal : ...
5
by: JHamrick | last post by:
I am using this code to track and display historical entries entered into a "Comments" field everytime a user adds comments to a record. The field is a memo field with Append Only property set to...
2
by: rwonggnb | last post by:
Hi, I have a table with a DateTime field and a form where a user enters a date and hits a "submit" button to open a report that should only display entries whose dates match the user entry. When I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
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...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.