16,015,755 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by ajk825 (Top 13 by date)
ajk825
13-Dec-12 11:31am
View
Hi Programm3r,
Ok I looked at it and I have a question. They use a GroupFilter class and I can not find anything about it anywhere... Is it part of an assembly I need to include? I searched the MSDN library and could not find a lot about it, and the info they did provide was above my level of understanding right now. Any suggestions or is it not really needed?
ajk825
13-Aug-12 17:55pm
View
sweet.... this is a lot so give me a bit to read thru it and see what i can do... i appreciate the suggestions. thanks. i'll let ya know what happens.
ajk825
13-Aug-12 17:44pm
View
maybe so.. i was just following the example from beth massi (http://msdn.microsoft.com/en-us/vstudio/ee364701 link for c# example at bottom if ya wanna look at it) and she's a senior programmer at microsoft. so...???
ajk825
13-Aug-12 17:09pm
View
hi kenneth... this is the vb version of the same program i'm having the insert issue with in c# that you had advised me on earlier... i sent ya the link to for beth massi's master/detail example.... i am using a collectionviewsource. it's because their all checkboxes that i'm having this issue... any clues as to where i could find some examples where they use checkboxes as filters for their database? all the examples that i've come across where checkboxes are used have them being used to change the color of texts or some other property of the window... not actual filtering on a database.
ajk825
13-Aug-12 17:03pm
View
it is only being called once... there are 7 different tbls. each with it's own _AssociationChanged event handler. and they are only called when i click my add new button. which is when i want them to be called.
here is a link to the entire question.... i was told my original post was way too long so i shortened it for them...
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b54771e5-c84f-40b8-8550-0e49f9d448e5
ajk825
13-Aug-12 16:25pm
View
Hi Christian,
the event handler is adding a new index to my child tables...
the: item.InTbls.AssociationChanged += new System.ComponentModel.CollectionChangeEventHandler(InTbls_AssociationChanged)
is saying "hey i'm gonna add a new table,this is my recid" to the child tables... i think, at least that's what i'm gathering from all these posts and examples i'm reading.
ajk825
13-Aug-12 15:29pm
View
one more thing i just noticed, and i don't think this affects my problem, but i just re-ran that example i mentioned above... if i erase all the orders and customers from the example and try to start new ones, i get the same error message that i'm getting. but that's with all her info erased. i'm getting it with records existing in it. ??? just thought that was odd too..... so what's the best coarse of action here? just re-write all my classes and property values again in my program?
ajk825
13-Aug-12 14:56pm
View
yeah...sorry. http://msdn.microsoft.com/en-us/vstudio/ee364701
she does the tutorial in vb but if you scroll down to the bottom you can download the source code in c# this is what i used for an example....
you have to hook up the OMS database if you don't already have it. i put mine on my local connection and updated the database with the wizard and copy and pasted it into my app.config file and it works like it should ( i have a data access layer that's referenced by the main program so that's why i had to copy/paste ). only difference between what she did and what i did is that she used a button for her master add and 1 for her detail add. and 1 button to save both master and detail together. i just used 1 button to add master and detail. But my master is first. and i did the same thing ( 1 button for both adds ) in vb and it works...
ajk825
13-Aug-12 11:51am
View
ok i tried... no go. but....for my
private reccollection recdata;
reccollection is an observablecollection. I have it as a seperate class.
even then... recview, inview, and dirview work as it is. i can insert records into the database as it is written now. i checked, they are inserting. but the other ones are not....
and i looked at that post you suggested. i thought that since i was using an entity datamodel based on an existing database that all the info as far a properties and stuff were already included in the database schema?
so do i really need to rewrite all my classes and their properties?
ajk825
13-Aug-12 11:41am
View
let me check.... i was following along with an example from beth massi on master/detail using entity framework...k. let me try that and see what happens.
ajk825
13-Aug-12 10:27am
View
but it still doesn't explain why 3 of them work(recview, inview, dirview will insert and save properly). 3 don't work at all(lifeview, holdsview, and ToDsview I get the error message with these 3, but if i delete them from the code block alls good), 1 doesn't work (corview) but i don't get that error message if it's in...... their all written the same way. so why am i getting the error message with the last 3 views and nothing with the corview... see what i'm asking?
ajk825
13-Aug-12 10:09am
View
sorry...was just trying to be as thorough as i could. just wanted ya to have all the info needed to answer this question....
ajk825
23-Jul-12 12:25pm
View
sorry about that. won't do it again.
Show More