I need to take out the carriage returns but keep the items delimited in some way so they all apear on the one line. These are the child parts for kits so i need to keep them on one line as i import them or via a query so i can see the parent part they belong to. I can then extract them for upload into our system retaining the association with the parent part.
Our shops use MS Access to save the details of customers. The shops have to submit us the customer records at the end of each month. How can they make some settings (e.g. query) to extract only the modified records and new records of that month? For example, at the end of Nov 04, I just want them to submit the modified and new records of Nov 04. Records created in or before Oct 04 should not be extracted.
how to write VBA to extract data from .msg files and import that data into a table in my database.I have over 5000 .msg files of which I need to extract the following information:
First name: Tim Surname: O'Rourke Street & Nr: 399 Upper Eastern Green Lane City: Coventry
[code]...
The field headings are all in black bold and the required data come after the colon, I have name the fields in my database exactly the same but using the normal naming conventions:
I’m not sure where to post this, but I know my problem arises from either my table or my textbox on my form. My problem is I have a text box on my form where my Managers input text (example below), and at times it cuts off their entries with weird characters. I’m not sure if they have exceeded the text box limit or the memo limit in the table but below is an exact example of what is showing up in the table after they submit their entry. Any help on this would be great.
Of the 1,800 unit decline, 684 were empties. The load decline of 1,116 can be summed up in the following lanes and beneficial owners. Chicago to Austell -200 loads, Georgia Pacific. This freight now moves over the road. Chicago to Harrisburg/Rutherford - 353 loads, SC Johnson business lost to JB Hunt back in September. Inbound/Outbound Jersey business lost to CSX last October, -226 loads. 2005 we moved right at 450 loads from Jacksonville/Austell to Bethlehem/Rutherford and Chicago for the yearly Wal-Maů?Ā
I have a question about an Access form that I am creating. I have a "Due Notes" field, which has Memo data type and I create a form "Estimates" using a text box with the control source is that "Due Notes" field to enter notes when needed.
Although I have the vertical scroll bar for that text box (due to other controls, I can not size the text box too big), does anybody know how to display that text box in form "Estimates" with the data of the last text within the size of the box without scrolling down so I can start typing for the next entry? Do I make sense to you?
Please help and let me know if you know HOW. Thanks so much in advance.
Is there a way I can take each entry in a memo field and put it into a text field in a separate table. The database is getting really big and the customer notes field for each record has lots of entries. The memo field looks like this:
I want to take each line and put put the date in a date field and the text in a text field in a separate table linked by CustID. Is there a way to do that?
My DVD library database I have a memo field which has the description of the movies.
In some cases, like my tv show records, I have a lot of data because of the episodes and episode descriptions.
I'm currently displaying this data using a split form with the datasheet on the left
I must use a small font in the memo field in order to display all data.
I could use a larger font and simply scroll but I'm looking for an alternative.
I've even thought of creating a hyperlink filed and point to the movie on IMDB's web site. But when I click the link nothing happens even though I copied and pasted the link into the field.
I haven't seen anyone run into this particular problem on this forum...
I'm importing data from an excel spreadsheet to an MS Access (2007) table. One of the fields in the table is a text memo field able to support more than 255 characters...
Issue: The issue is that any cell in Excel that is greater than 255 characters is truncated when imported to MS Access even though the field is a memo field. There isn't any documentation on Microsoft's website about this and I don't see any way to work around it other than manually copying the data from excel to MS Access.
I want to extract the date to append to a date field in a "Calls" table and the comment into a text field in the "Calls" table. Is there a way I can do this via query or code?
Hello, I manage an access MDB, which contains two tables. In one of the tables (Table A), I would like to insert a "Default Value" that will be extracted from the other table (Table B), everytime I add a new row.
For instance, the value I would like to extract from Table B is "900". When I add a new row in Table A, I would like it to use "900" as the "Default Value". But tomorrow, for example, the value in Table B will be "910", and so when I add new rows in Table A, I would like them to be "910", but at the same time I don't want the rows that I added a day before to change (from "900" to "910").
I tried going to the "Design View" and under the "General" tab, use the "Default Value" field by using an SQL query, but that didn't work (or maybe I just did something wrong).
There is a requirement for 1)Populating a datasheet in a subform with a querystring which is dynamically built in VBA.This querystring is constructed based on the search criteria fields selected by the user in the main form.How can this be immplemented?
2_To click/double click a record in the datasheet,extract data and populate textfields,comboboxes with it which are in the main form.How is this achieved?Also,I can't find click events in a datasheet.
How can I create a field in a query, extracting the date portion of a date/time field? The format is mm/dd/yyyy hh:mm:ss. I need just the mm/dd/yyyy so I can prompt the user for a date range, without them having to key in the date mm/dd/yyyy 00:00:00 to mm/dd/yyyy 23:59:59. Please Help
Hello, There are 40 columns in a table in MS Access Database, i want to fetch all the columns data; but without only one particular column and without mentioning all the column names. How it is possible? Please guide me...! Thanks
I am trying to write a query to extract the first 3 characters from a character string but have no idea where to start since we usually use Select "field" etc etc
Example, for a Code ACC01, the query result should give ACC
I am in the process of changing over a text field to a memo field to generate more space (in 5 different databases :eek: ) Thanks to all the good info on several searches of this forum, I am pretty clear on how to do that.
The question is... when I convert a field that already has information in it, will I lose the current information?
when i change records, my subform that has a memo field, shows the memo field data is "highlighted". i can make a mistake and hit any keyboard key and the memo field data will get erased.
is there a way to prevent such a problem?
if not, is there a work around. eg, hide the memo field until needed for more input? ideas on both issues?
i have a field of memo data type in a table and the field is associated with a text control in a from. user is allowed to enter <ctrl><enter> to start on a new line in the control. if user exit this control, i would like to know how many lines are in this field. how can i do this?
I have created an audit trail for data held on a form so that when a field is changed it adds a line of text to a memo field with the date of the change and the old and new field values. The problem I have is that each time something is changed the line of text is added beneath the existing text in the memo field. This means that for users to view the most recent change they have to scroll all the way down to the bottom of the memo field. Is there a "Quick" way of me having the most recent entry first. I am using the vbnewline command when adding the text. A sample is shown below:
Dim Response As Integer Dim AnotherItem As Integer Dim sqlstr As String
Set Myform = Forms![DataDetail] Producer = Forms![ListOfProducers(Existing Data Item)]![LstProducers].Column(1)
Response = MsgBox("Are you sure you wish to add a Producer?", vbYesNo, "Data Dictionary v1.0") sqlstr = "INSERT INTO DataProducers ( Data_Id, Producer_Id ) SELECT Data.Data_Id, Producers.Producer_Id FROM Data, Producers WHERE (((Data.Data_Id)=[Forms]![DataDetail]![Data_ID]) AND ((Producers.Producer_Id)=[Forms]![ListOfProducers(Existing Data Item)]![LstProducers]));" If Response = 6 Then DoCmd.RunSQL sqlstr Myform!LstHistory = Myform!LstHistory & vbNewLine & "Changes made on " & Now & "" Myform!LstHistory = Myform!LstHistory & vbNewLine & "The Producer '" & Producer & "' was added to this data item""" Myform!LstHistory = Myform!LstHistory & vbNewLine & "-----------------------------------------------------" MsgBox "Producer has been successfully added.", vbInformation, "Data Dictionary v1.0"
I have a table in my database to track survey responses. Some of these responses can be quite long so I am using the memo data type. I have some queries set up to display these responses but the queries truncate the responses to 255 characters. Is there a way to stop the query from truncating? Thanks in advance.
Any way to extract a postcode when there are double space on some and not others.
SA1 1AB (i need SA1 1AB) HU1 2AB (i need HU1 2AB) HU17 0BG (ok)
For some reason the postcode field returns 2 spaces when the postcode length is only 6 digits and 3 spaces when the postcode length is only 5 digits. Im assuming that the postcode field needs to be 8 characters in length (including a space).
All I want to to remove the addition spaces and return a normal looking postcode!
DoCmd.OutputTo to export a query but this truncates the memo fields, but in the db window,right clicking and choosing to export does not truncate the data.
How do I code to output all the data without truncating?