Click here to Skip to main content
15,891,473 members
Home / Discussions / Database
   

Database

 
AnswerRe: How can I convert SQL Server data file version ? Pin
Chris Quinn8-Feb-18 22:56
Chris Quinn8-Feb-18 22:56 
AnswerRe: How can I convert SQL Server data file version ? Pin
jschell10-Feb-18 6:44
jschell10-Feb-18 6:44 
QuestionSql Server 2017 with Transact and synonyms Problems. Microsoft does not respond. Pin
zequion7-Feb-18 19:48
professionalzequion7-Feb-18 19:48 
Questionhow to delete specific data from multiple tables in sql database Pin
Ko Htet Kyaw7-Feb-18 5:53
Ko Htet Kyaw7-Feb-18 5:53 
AnswerRe: how to delete specific data from multiple tables in sql database Pin
ZurdoDev7-Feb-18 7:16
professionalZurdoDev7-Feb-18 7:16 
QuestionQuick Join to get the weight Pin
jkirkerx5-Feb-18 11:16
professionaljkirkerx5-Feb-18 11:16 
AnswerRe: Quick Join to get the weight Pin
Richard Deeming6-Feb-18 2:33
mveRichard Deeming6-Feb-18 2:33 
GeneralRe: Quick Join to get the weight Pin
jkirkerx7-Feb-18 6:56
professionaljkirkerx7-Feb-18 6:56 
QuestionTo update multiple dynamic field in a single query Pin
Member 136574851-Feb-18 23:01
Member 136574851-Feb-18 23:01 
AnswerRe: To update multiple dynamic field in a single query Pin
Richard Deeming2-Feb-18 1:16
mveRichard Deeming2-Feb-18 1:16 
GeneralRe: To update multiple dynamic field in a single query Pin
Member 136574854-Feb-18 22:46
Member 136574854-Feb-18 22:46 
QuestionPossible to use Linq to query a column that contains a description and remove the whitespaces? Pin
jkirkerx18-Jan-18 8:40
professionaljkirkerx18-Jan-18 8:40 
AnswerRe: Possible to use Linq to query a column that contains a description and remove the whitespaces? Pin
Jörgen Andersson18-Jan-18 9:17
professionalJörgen Andersson18-Jan-18 9:17 
AnswerRe: Possible to use Linq to query a column that contains a description and remove the whitespaces? Pin
Chris Quinn18-Jan-18 22:13
Chris Quinn18-Jan-18 22:13 
AnswerRe: Possible to use Linq to query a column that contains a description and remove the whitespaces? Pin
Eddy Vluggen19-Jan-18 4:12
professionalEddy Vluggen19-Jan-18 4:12 
AnswerTable of straight text Pin
jkirkerx19-Jan-18 7:30
professionaljkirkerx19-Jan-18 7:30 
AnswerRe: Possible to use Linq to query a column that contains a description and remove the whitespaces? Pin
jschell20-Jan-18 6:06
jschell20-Jan-18 6:06 
QuestionEntity Framework 6 - Set Connection String at Runtime Pin
Kevin Marois12-Jan-18 7:17
professionalKevin Marois12-Jan-18 7:17 
AnswerRe: Entity Framework 6 - Set Connection String at Runtime Pin
Richard Deeming12-Jan-18 8:23
mveRichard Deeming12-Jan-18 8:23 
QuestionProblem with Access Pin
JackMisani10-Jan-18 7:51
JackMisani10-Jan-18 7:51 
Hello everybody, i'm writing here because i'm really becoming crazy, i read every kind of internet pages but I'm not able to find a solution but i'm also sure that the solution is behind the corner.

I have an Access database with different tables. The main table has different foreign keys to other tables. I do an example with 2 tables to make the problem easier:

Table Products
Field1 - Primary Key: Product Code - text
Field2: Description - text
Field3: Product Type - integer

Table ProductTypes
Field1: Primary Key - ID - integer - FK on Field3 of "Table Product"
Field2: Description - Text

Now, I open Visual Studio, I add my database and I drag&drop the table "Product" on my Windows Form as a DatagridView. The wizard create for me, the tableAdapter, bindinsource ecc....

If I start my app the DatagridView is populate with the correct data but in the column "Product Type" I see the number from the PK of the table "ProductTypes" while I'd like to see the Description.

I created a new TableAdapter query that give me the result i want to see but when I confirm I get the message that i'm created a query that give a different result from the original schema. If I continue the query is created but i'm not able to retrieve data using this new query.
THe only way I've to retrieve datas as I want is to modify the original Fill query but in this case the relation between the 2 tables will be removed and also the TableAdapter Insert method will be removed.

So, I will see the data in datagridview as i'd like to see but I don't have anymore the insert method.

Can someone help me by telling I could I retrieve the data in the way I desider without losing the chance to insert new record in the table?

Thanks
Giacomo
AnswerRe: Problem with Access Pin
Tim Carmichael12-Jan-18 3:50
Tim Carmichael12-Jan-18 3:50 
GeneralRe: Problem with Access Pin
JackMisani12-Jan-18 4:23
JackMisani12-Jan-18 4:23 
GeneralRe: Problem with Access Pin
Tim Carmichael12-Jan-18 5:13
Tim Carmichael12-Jan-18 5:13 
GeneralRe: Problem with Access Pin
JackMisani16-Jan-18 22:07
JackMisani16-Jan-18 22:07 
GeneralRe: Problem with Access Pin
Tim Carmichael17-Jan-18 2:24
Tim Carmichael17-Jan-18 2:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.