cancel
Showing results for 
Search instead for 
Did you mean: 

B1DE using vb.net in debug mode

Former Member
0 Kudos
59

Hi

I have just used B1DE for the first time and one thing I have noticed is when I debug my code I often type in the following -

? orecset.Fields.Item("cardcode").Value.ToString

for example to check the value of a record set.

When I type this in it stops vb.net, no error message. If I display it in a msgbox in the code it is fine.

Has anyone seen this before ?

Regards Andy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What patch level are you using? If your using PL19 or PL20 please upgrade to PL22 since these patches have a problem with the DI API and the business partner object.

Former Member
0 Kudos

Hi William

I am on patch level 20, I will give it a go

Thanks

Regards Andy

Answers (2)

Answers (2)

Former Member
0 Kudos

Sometimes the thread stops when in debugging mode. I don't know why it happens but it does from time to time and I noticed that it is at certain points on the code.

What I usually due is put a Msgbox at the point in the code where I want to evaluate!

Hope it helps

Former Member
0 Kudos

Hi Paul

Try using

orecset.Fields.Item("cardcode").Specific.Value

Former Member
0 Kudos

Hi

I got ''Specific' is not a member of 'Field' when I tried this.

The strange thing is it works fine in programs when I haven't used B1DE

Regards Andy