Search:
Type: Posts; User: Bear89
Search:
Search took 0.14 seconds; generated 36 minute(s) ago.
-
Thanks so much Paul, just what I needed.
-
I've now nearly finished my project in Visual Studio. Currenlty when I start vs the current project loads but at the code level and I need to click on the Start button to open the Main form. For...
-
Yay, I've worked it out, I can bypass the empty iterations using:
If IsNothing(service.explanation) Then
-
Great, thanks tg, works! And now I can make the overall code move the data between rows, using copy and paste. But I still would love to be able to restore the direct paste function in my...
-
I'm hoping someone can help with managing conditionally missing properties in my JSON response.
Here is a typical response, where I will usually have several "id"s, some of which contain the...
-
Thanks sapator, point noted and the empty string reference read, though I have content in the clipboard, and the method appears to work, though I have had difficulty splitting the clipboard contents....
-
OK, thanks Peter, good tips.
I have explored a little further, and I find that I can copy a data row to clipboard, and I can see, and split the clipboard content using
Dim clipbd =...
-
I really can't find a good way to do this. I have two tables with identical columns, one for open orders (AcctDetailsTableAdapter), the second for completed orders (Acctdetails_UnpaidTableAdapter),...
-
Thanks ob and tg, I have solved it, was as ob suggested that the row was being deleted in a previous iteration and an update of the dg solved it. Great to have the help of the forum once again!
-
I’m not sure but it sort of makes sense that this might be possible, and the dg is bound to another table. When I run the loop with a break at this line the exception is thrown at the first time the...
-
I am trying options to detect the empty or null row so that the exception is not thrown. Obviously the syntax is not correct. So I need help in how to write a line which will detect this empty row so...
-
I'm stumped on how to handle an empty row as I iterate through a collection. The problem code is:
For Each datarowview In Grid2.View
If Not IsDBNull(datarowview) And Not...
-
Thanks tg, thats perfect!
-
But I thought I was doing that with the ‘If medicalEvent.patient.status.code IsNot Nothing’ line - or should I be doing this another way? Do I use optional chaining or hasownproperty???
-
Thanks TG, the exception is:
System.NullReferenceException: 'Object reference not set to an instance of an object.'
and yes, you are correct, the elements are missing in the response, but not...
-
Dear Guys,
I'm hoping for some help with a conditional null value in a return message for a JSON nested array. Here is my code:
For Each medicalEvent In...
-
Thanks Jm, at the moment no exception is being thrown, and I have tried a number of options but nothing is thrown. But the data of the row in question are simply not updated to the database when a...
-
OK thanks jm, I have checked the parent Access setting and it is set to No for the Date:Required field.
-
Dear Guys,
I have been developing a wpf application with a MS Access .mdb database. The pain window includes a range of textboxes from large data table, with 3 child tables to the main table, all...
-
OK, I have made some progress but would really love some help. First, it seems the datepicker can switch between normal and editable mode, and that influences whether it will accept new data....
-
I disagree. The difficulty here is getting wpf to accept data and this might still relate to a null issue or perhaps a related issue, very much related to the discussion so far and to the topic.
...
-
Thanks pg and jmc, I have allowed null values in the access database and these are now accepted, so excellent.
I still have a problem though with date fields, which wont allow entries in my WPF...
-
A very measured response from you, thanks jmc!
-
Guys, I have encountered a new type of JSON which I am unsure how to handle. The example I need to code to is:
{
"transactionId": [
"izoz"]
}
The JSON Validator indicates this is a...
-
Ah, I see it now, I just need to specify the index - eg m3 = participant.service(1)
Thanks guys.
-
Thanks Peter, perfect, now deserialises, but I still can't get the value -
23/05/2022 9:13:26 PM : Name: Credicare Fund Limited
23/05/2022 9:13:26 PM : Id: CHF
23/05/2022 9:13:26 PM :...
-
Hmm, I tried that before, and have gone back to it as this:
Public Class GPRResponse
Public Property participant As IEnumerable(Of participant)
End Class
Public Class...
-
I’m having difficulty extracting data from a particular JSON response which has nested arrays. I can easily access the first level data, but not the second.
My declarations are:
Public Class...
-
Thanks tg, so here is the update code:
Public Sub UpdateTA()
Try
Dim PatientDataSet As Goldie.patientDataSet = CType(Me.FindResource("PatientDataSet"),...
-
No, not crashing, the exception is simply thrown when I try to access or save data from cells that have been deleted.
-
Thanks JMc, the reason I have shown no code is because there is none. These text boxes have no specific code added, ie they remain as they did at the start of the project. However, they are bound to...
-
I have searched everywhere for a good solution to this problem but I can't find one. I have a range of controls in Datagridtables and textboxes on my WPF mainwindow, and when I delete any value I am...
-
Perfect, thanks tg and dday!
-
Well I was wondering if thats the case, because I had thought my syntax was OK, but may just be a string?
-
I know this must be simple but I can't work it out. I have stored a range of data in an array, with variables according to the following construction, stored in a datagridtable:
...
-
Excellent, thanks so much Karen and pd. In the end the List and other options didn't work pd as the need for deserialization and the need for full string to access each element were in conflict....
-
If I try to do that with my current declarations I can't reach the array elements. For example, I can retrieve:
memberNumber =...
-
Dear Friends,
After much help, I have progressed well with my project but I am now having trouble reading data from a Webservice JSON response. I have created classes for all components of the...
-
And just for completeness, here is my entire debug output - hte only other errors are the dll exceptions, which dont seem to be the key issue?:
'Goldie.exe' (CLR v4.0.30319: DefaultDomain):...
-
I've managed to find 2 errors in the debug, and these relate to the troublesome table and to binding:
System.Windows.Data Error: 40 : BindingExpression path error: 'Table1Acctdetails_Unpaid'...
|
Click Here to Expand Forum to Full Width
|