Click here to Skip to main content
15,896,500 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionStrip out invalid characters from xml files [modified] Pin
Icharus17-Aug-06 17:10
Icharus17-Aug-06 17:10 
AnswerRe: Strip out invalid characters from xml files Pin
Christian Graus17-Aug-06 19:30
protectorChristian Graus17-Aug-06 19:30 
AnswerRe: Strip out invalid characters from xml files Pin
Guffa17-Aug-06 22:19
Guffa17-Aug-06 22:19 
AnswerRe: Strip out invalid characters from xml files Pin
Icharus18-Aug-06 8:05
Icharus18-Aug-06 8:05 
QuestionProgress Bar & ForeColor Pin
John Waclawski17-Aug-06 16:42
John Waclawski17-Aug-06 16:42 
AnswerRe: Progress Bar & ForeColor Pin
NGENEAR1118-Aug-06 16:32
NGENEAR1118-Aug-06 16:32 
AnswerRe: Progress Bar & ForeColor Pin
John Waclawski19-Aug-06 20:05
John Waclawski19-Aug-06 20:05 
QuestionProblem passing field from parent, to child form Pin
penguin500017-Aug-06 16:26
penguin500017-Aug-06 16:26 
Wonder if anybody can point me in the right direction? I'm wondering what I'm doing wrong.

I have a parent and child form. On the parent form, I have a CustomerID field - which is a CustomerID field in my tblCustomersParent table my Access database. I have a similar field in tblCustomersChild to create the relationship, and a field on the child form to display it.

This CustomerID field is passed to the child form using:

Me.frmCustomerContacts = New CustomerContacts<br />
frmCustomerContacts.ValueFromParent = Me.CustomerID.Text<br />
frmCustomerContacts.ShowDialog()


The customer ID is then copied to the child form using:

Public WriteOnly Property ValueFromParent() As String<br />
   Set(ByVal Value as String)<br />
      Me.CustomerID.Text = Value<br />
   End Set<br />
End Property


This works well except for when tblCustomersChild does not have an existing entry for that CustomerID. For example, if I create a new customer (or even if I have an existing customer entry in tblCustomersParent), and then wish to add contacts for that customer, the CustomerID field on the child form does not get populated because tblCustomersChild does not have any corresponding entries already recorded. I can enter a record in Access to make it work, and it does carry that CustomerID through from parent to child, and I can add new contact records to the child form.

I am using a standard SELECT statement to collect the data for the child form based on what the CustomerID field is on the parent form.

I'm using VB.NET 2003.
AnswerRe: Problem passing field from parent, to child form Pin
Robotovich18-Aug-06 9:24
Robotovich18-Aug-06 9:24 
AnswerRe: Problem passing field from parent, to child form Pin
Scott Serl18-Aug-06 9:54
Scott Serl18-Aug-06 9:54 
QuestionGoogle search trouhh my app Pin
FeRtoll17-Aug-06 13:25
FeRtoll17-Aug-06 13:25 
AnswerRe: Google search trouhh my app Pin
Christian Graus17-Aug-06 14:08
protectorChristian Graus17-Aug-06 14:08 
GeneralRe: Google search trouhh my app Pin
FeRtoll17-Aug-06 14:23
FeRtoll17-Aug-06 14:23 
GeneralRe: Google search trouhh my app Pin
_mubashir17-Aug-06 21:10
_mubashir17-Aug-06 21:10 
GeneralRe: Google search trouhh my app Pin
FeRtoll18-Aug-06 13:41
FeRtoll18-Aug-06 13:41 
AnswerRe: Google search trouhh my app Pin
Coding C#18-Aug-06 2:05
Coding C#18-Aug-06 2:05 
GeneralRe: Google search trouhh my app Pin
FeRtoll18-Aug-06 13:40
FeRtoll18-Aug-06 13:40 
QuestionUsing the progress bar control to track database activities Pin
Robotovich17-Aug-06 6:42
Robotovich17-Aug-06 6:42 
AnswerRe: Using the progress bar control to track database activities Pin
Stephen McGuire17-Aug-06 8:50
Stephen McGuire17-Aug-06 8:50 
GeneralRe: Using the progress bar control to track database activities Pin
Robotovich18-Aug-06 9:19
Robotovich18-Aug-06 9:19 
GeneralRe: Using the progress bar control to track database activities [modified] Pin
Stephen McGuire18-Aug-06 9:42
Stephen McGuire18-Aug-06 9:42 
AnswerRe: Using the progress bar control to track database activities Pin
Christian Graus17-Aug-06 12:51
protectorChristian Graus17-Aug-06 12:51 
GeneralRe: Using the progress bar control to track database activities Pin
Robotovich18-Aug-06 9:20
Robotovich18-Aug-06 9:20 
QuestionWhat the theck am I missing: Filling tables Pin
cstrader23217-Aug-06 5:39
cstrader23217-Aug-06 5:39 
AnswerRe: What the theck am I missing: Filling tables Pin
Stephen McGuire17-Aug-06 8:52
Stephen McGuire17-Aug-06 8:52 

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.