Data Types From Different Sources?
Jan 31, 2008
Hi,
Wondering if anyone has a solution for my problem.
I have 2 data sources, one which is an ODBC and one which is an import table. I have a 2 queries each querying the 2 data sources seperatly.
My problem is... One of the fields which I need to do a join to a reference table has a different data type in each of the data sources. I have tried changing this in the imported table NO JOY!! You cant change the data type in the ODBC link.
Is the anyway round this?
Any help appreciated...
View Replies
ADVERTISEMENT
Jul 6, 2005
I know that it isnt advised to store the concatenated value but in this case, I have a memo field which is the description of a particular system component.
i have Unbound Combo Boxes for descriptive elements such as COLOUR, SIZE, CONNECTIVITY, MAKE.
ALL of these i would to store in a field in my table and called Description and separate them by colons or the actual words which describe the category.
Please Advise
View 1 Replies
View Related
Sep 12, 2012
I am working on a project where I have data coming in from about 70 different sources across my state... but right now, they're all submitting their data in different ways (some through websites, some through databases, and some through excel spreadsheets they send monthly). As you can imagine, this is a nightmare for trying to get all of the data in one place to do some statistics on.
My question is this - if I were to set up an Access form where each client could fill in the blanks with the same information they've been submitting to all these other sources, could I send it out to them and have it all compile in one place? The last place I worked, we used Access to manage all of our on-site stuff, but we were all on the same network. Could it work the same way if everyone is spread across one state?
View 1 Replies
View Related
Aug 5, 2006
Hi, I'm trying to connect to SQL Server Express from MS Access 2003.
I've created an ODBC data source and tested it within the ODBC Wizard. It successfully connects to the SQL Server database.
From within MS Access, I choose File > Get External Data > Import and I'm presented with a dialogue for choosing the data source. As soon as I choose ODBC from the Files of Type drop-list, the dialogue disappears. No error-message, nothing!
Has anyone else had this problem?
View 1 Replies
View Related
Jun 24, 2013
Please see the screen shot attached.
I have a single form with multiple tabs. At the top of the form appears the name of an individual and below the name are multiple tabs containing information specific to that individual. Each tab has a separate underlying table, which is the data source for the information contained on that tab.
As best as I can tell, I can only use one single data source (a query at the moment) to populate all the data that appears on all the tabs. Is there a way that I can have a separate data source (namely, a table) for each tab?
View 1 Replies
View Related
Nov 16, 2013
importing data from two excel sources to one table. I have a table with: Unit, Info1, info2, info3, info4, info5, info6, info7. I have been able to import from the first file which has all of the unit information-'info1-5'. I need to import another file to fill 'info6-7' based on specific unit numbers. I have created two excel tables the first with the headers "unit, info1-5" and the second with the headers "unit, info6-7." The first works fine and adds all the data I want it to, but when I try to do the same with the second it doesn't add any new data.I cannot add the last two fields to my first spread sheet because it would involve sorting through 700+ units and adding the data manually to 400+ of them.
View 3 Replies
View Related
Sep 5, 2005
I have an Excel file (sourced externally) linked as a table. All fields are defined as text fields. In some of the Excel cells, data has somehow been entered as numeric (eg phone number). When I query the Excel file thru Access, these fields show up as errors (#num!).
I need to find a way of interogating the field, and if in error (like these ones), then ignore it, or replace with zeros etc.
I cant find a way of doing this. Help :)
Rod
View 1 Replies
View Related
Jul 18, 2007
Hi all :o
Just a quick stupid question, I have a Yes / No data type in my table but I want it to automatically put no unless I change it to Yes, is there an easy way to do this, probably a really simple question but am new to this and any help would be great
Thanks
Jackie
View 1 Replies
View Related
Feb 2, 2005
I'm trying to append a group of fields to a SQL table using ADO in VBA. One of the fields I'm writing back to is a datatime and in certain situations there won't be a value, however, when I try this it throws in the beginning of time 1/1/1900 or whatever it is. Any ideas?
Thanks.
View 4 Replies
View Related
Oct 19, 2005
Is there a way to change the data type for multiple fields at once? Such as 20 text fields to numeric in one step.
Thanks
View 1 Replies
View Related
Jan 17, 2006
Hi,
Strange but true.
I am trying to numeric data types on my access 2000 where I could input values in table like 0.3567 or 2.3454
Anyway any values of this kind with 4 decimal places. however somehow the values always get rounded to number + 4 zeros as of example:
if I put 0.756769 I want it to be as 0.7568 but I get 1.0000
I don't understand this. Can anyone help please?
I have not used access for ages and I seemed to be forgeting all this stuff.
Thanks
dfuas
View 2 Replies
View Related
Jan 26, 2006
Hi all!
I'm experiencing an apparently simple problem, but it's taking me too long to solve :confused:
Two tables with a "text" (100) column on each. I want to select those who are identical. ¡So easy! thats the where clause:
AND a.sDesEntidad = b.sNombreLargo
That works fine. But... i want to "relax" the clause, by not considering dots ( . ) when comparing, and i do like this:
AND (Replace([a]![sDesEntidad],'.','') = Replace([b]![sNombreLargo],'.',''));
and i get a run-time Error 3464, Data type mismatch in criteria expression. Oooops!
My access version is 2003, spanish. I would really appreciate ur help, since this matter shouldn't be keeping me busy for so long :(
Regards and thx in advance!
Alejandro
View 1 Replies
View Related
Feb 9, 2006
I am trying to do a comparison between two values and am getting the following error:
Microsoft JET Database Engine error '80040e07'
Data type mismatch in criteria expression.
The code that is creating the error is as follows:
sb = Request.Form("storyboardscreen")
if Not Lcase(Request.Form("AllStoryBoard")) = "all" then
whereClause = whereClause + "theStoryboard = " + sb
end if
I am using the statement to build the where clause of my query. The sb value is retrieved from a pull down menu and "theStoryboard" column is the db is of data type "text". The values stored in the field are 12 digit numbers. I have tried doing a cstr to sb but that doesnt work, any tips on what I am doing wrong? I am using asp with an access db....
Thanks
View 5 Replies
View Related
Jun 21, 2005
WorkID is a look-up field, so its Data Type is Number.
In the same table, DailyGrind is a field with the Data Type of text.
I would like to update WorkID with the jobs in DailyGrind.
Surely there must be a way to do it, gurus?
View 4 Replies
View Related
Dec 11, 2007
Hi All,
I have a Union query that brings together several tables into one. This works perfectly well however there is an occassion when a field in one table has its data type changed to text from date. This is to allow N/A to be entered rather than a date. When this occurs the union query changes all the dates from the other tables to text also and therefore other queries I am running based on the Union query now fail.
Is there any way to have the Union Query ignore the data from the table where and when this this occurs as it is not necessary to show in the query and can happen with any of the tables at a users discretion
Thanks Again
IC
View 2 Replies
View Related
Aug 3, 2007
Hi,
I have 2 linked tables, I would like to join these tables in access, however the first table's field is a memo and the second table is a number. I have tried to cint() the field in a query but I get an error message "Explicit conversion from datatype text to smallint is not allowed"
Any ideas how to get around this problem?
Thanks
Michael
View 4 Replies
View Related
Jun 8, 2014
I create a table that have one hyperlink data type and i want to open a existing form that i created using this hyperlink.
Can this hyperlink data type open a form in the same access database? or open form in different access database?
Using hyperlink button have the function to open form in same database but the problem is this function is not available in hyperlink data type.
View 2 Replies
View Related
Jun 3, 2005
I am working in MS Access 2000. I have a query that is returning a table with various types of data. The problem is I can't seem to find anywhere in the Access GUI that will show me the data types of columns it has returned so I can't manually create a table to hold the values returned by query. Question is two fold:
1. Is there a way in Access SQL to import data returned from a query into a table that is not yet defined. Some like this:
a. Create a table that has a primary key but doesn't yet know the number of columns and/or data types of those columns.
b. Import the data from a query into this table and have it create the columns and copy the data types and populate the table while also numbering each row by primary key.
or
2. Is there a way to find out what the data types are for a table returned by a query in MS Access. I have checked the properites of the query and have been up and down the gui looking but I can't find a way while looking at the data returned by a query to explicitely see the data type (i.e., number, Date/Time, etc..) used by each column.
Any info would help. Thanks.
View 1 Replies
View Related
Jan 31, 2008
This the first time I post in this forum and I tried looking for an answer to my question before posting, so I apologize if my question has been answered previously.
Is it possible to determine, in Access 2000, the data type in a Make-Table query of a new column with null value so that it does not default to binary.
Here is my sample sql:
SELECT tblAddressBook.Name, Null AS Email INTO tblTestTable
FROM tblAddressBook;
The output is tblTestTable with two columns: Name and Email. The data type of column Email defaults to Binary. How do I make it default to Text.
Thank you.
View 4 Replies
View Related
May 9, 2015
The Data Types match and they are in order. I get a syntax error.
PHP Code:
strSQL = "INSERT INTO tblHour (Hours, WorkDate, SickDay, SickDte) VALUES (" _
Me.AbsenceHrsID & ",#" & Format(Me.AbsenceDteTo, "yyyy-mm-dd") & "#,True,#" _
Format(Me.AbsenceDteTo, "yyyy-mm-dd") & "#)"
CurrentDb.Execute strSQL, dbFailOnError
View 4 Replies
View Related
Jan 26, 2014
Looking for a way to use transfertext to make a table and create a spec file from csv files I am importing. I want all fields in the table to be shorttext.
Otherwise I need another way to bring the files into a table.
I have a generic spec to use that brings in any data as text.
Created the spec from a delimited file with 255 text fields... Field001, Field002, etc.
However the field names need to be changed. My field names are in the first row of a table. I will need to read each fields data in the first row and rename the field.
View 1 Replies
View Related
Jan 25, 2014
We have been using an Access (Access 2013) program where we link the program to dataviews created in sql server.
Recently we had to re-link the data views because a change had been made to them. When we relinked the data we noticed that the field type for the field used as the primary key changed from "Short Text" to "Long Text". The programmer who created the dataview from sql server said that nothing was done at that end that would have caused the change
I know how to prevent the problem from recurring. We are changing the sql server spec from VARCHAR(8000) to CHAR(20).
View 1 Replies
View Related
Jul 14, 2014
I've inherited an Access 2000 database that is used to enter and print various types of data. I am using Access 2010 and when I open it I am in a forms view for the main user interface. I want to see and/or edit the objects that make up this database but I can't find a way to see them. The navigation pane is not visible and using F11 doesn't open it. How can I see the database objects?
View 14 Replies
View Related
Oct 24, 2006
So, I've recently discovered that I'm more of an Access newbie than I had fancied myself to be. Anyway, I find that I need help with part of an ongoing project.
In our agreements with our clients, we have a set of standard terms which we typically use. Some clients with better bargaining power can occasionally negotiate better terms. One of the things I want our database to do is pull up which clients use the boilerplate terms and which have special situations.
I have two tables:
1) Fields: ClientID (Autonumber - Primary Key) & ClientName (Text)
2) Fields: ClientID (same as above - Primary Key) & Boilerplate (Yes/No)
For the clients that do not use the boilerplate, I would like to input the terms that differ from the original. Now to my question:
Is there anyway in my form(s) to make it so if I answer "No" (the client has special terms), it will then allow me to enter the special terms in another box? Similarly, if I answer "Yes" (that the client has boilerplate terms) no special entry box is triggered?
I'm not sure if I'm making any sense, but I guess I can sort of liken it to a computer survey where you have the choice of 4 options or "other" and if you select "other", an area opens for you to type what "other" is.
Let me know if you have questions. I'm at a loss for how to explain or do this.
View 3 Replies
View Related
Apr 24, 2006
Hi, I have two seperate sets of data which have been made by queries... These two queries are called "qryTopHalf" and "qryBottomHalf," and I wish to combine one field from each of these two queries by making another query... The SQL code I have tried to use is:
SELECT qryTopHalf.PlayerID, qryBottomHalf.PlayerID
FROM qryTopHalf, qryBottomHalf
I do not get an error message but I do end up getting duplicate values in the results from the new query I have made using the above SQL code... It doesn't seem logical for me to be getting 4 values in each field of the new query results when there were only 2 values in both qryTopHalf.PlayerID and qryBottomHalf.PlayerID.
Any suggestions/solutions? :-)
View 2 Replies
View Related
Dec 14, 2005
Hi,
I have just split up a table into tables so that has interfered with the form I had created for it. I have 2 main tables:
tblDrawingRegister:
DrawingNum
DrawingName
tblRevision:
Drawing num
Revision
LatestIssueDate
OrderNum
I split them up because there was alot of dublication. One drawing can have many different revisions. So I think it was better to split it up like this?
Anyways the form allows the user to add this information so some of the controls are bound to one form and the others to another. I know that I could do a query to combine the two tables but is that the best way to do it from an optimisation/ good database design point of view?
From a layout point of view I would prefer not to use a subform.
Thanks for your time,
RCurtin
View 2 Replies
View Related