473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Expression cannot be evaluated at this time

I have a dataset that I need to read a value from during debugging but keep
getting the error in the title of this message. I'm setting a break point
on the line: For c = 0 To dsThreads.Tables("Temp").Rows.Count - 1, but I
can't get the value. What's strange is that the table has rows in it but
when I step through with the debugger it thinks there aren't any rows (it
skips to the next section of code). This just started happening and I'm not
sure why, but it's screwing up my program.

Anyone know what causes the problem?
Nov 20 '05 #1
4 1168
Hi Greg,

How do you know the table has rows?

Cor
Nov 20 '05 #2
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:Oe**************@TK2MSFTNGP11.phx.gbl...
Hi Greg,

How do you know the table has rows?

Cor


Hi Cor,

I know because I've added rows to it. Strangly, it works from a different
part of code within the same function. I use that code to read a different
value from the table. I've rebooted and am about to recompile to see if
that fixes it.
Nov 20 '05 #3

"Greg" <no****@nospam.com> wrote in message
news:OA**************@TK2MSFTNGP11.phx.gbl...
I know because I've added rows to it. Strangly, it works from a different
part of code within the same function. I use that code to read a different value from the table. I've rebooted and am about to recompile to see if
that fixes it.


Actually, it's not able to read from those now either. I've stepped through
the code where it adds a new row and no errors occur. Directly after in the
same code block it attempts to read but it keeps thinking it's empty.
Nov 20 '05 #4
Hi Greg,

What is the count value, I put in that case always a instruction before it,
using the quick watch is for a ds to much work for me (with your datasetname
of course)

Dim i As Integer = ds.Tables(0).Rows.Count()

Cor

"Greg" <no****@nospam.com> schreef in bericht
news:Ow**************@TK2MSFTNGP10.phx.gbl...

"Greg" <no****@nospam.com> wrote in message
news:OA**************@TK2MSFTNGP11.phx.gbl...
I know because I've added rows to it. Strangly, it works from a different part of code within the same function. I use that code to read a different
value from the table. I've rebooted and am about to recompile to see if
that fixes it.


Actually, it's not able to read from those now either. I've stepped

through the code where it adds a new row and no errors occur. Directly after in the same code block it attempts to read but it keeps thinking it's empty.

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: Paul Rubin | last post by:
OK, I want to scan a file for lines matching a certain regexp. I'd like to use an assignment expression, like for line in file: if (g := re.match(pat, line)): croggle(g.group(1)) Since...
70
by: Roy Yao | last post by:
Does it mean "(sizeof(int))* (p)" or "sizeof( (int)(*p) )" ? According to my analysis, operator sizeof, (type) and * have the same precedence, and they combine from right to left. Then this...
3
by: João Santa Bárbara | last post by:
Hi all this message ( Expression cannot be evaluated at this time. ) apears when i in the debug window do this ?xdrMaster("field1") can some one help me .. JSB
2
by: lp | last post by:
While debugging an application, whenever i enter into a specific function, all watch values refering to this function get the error message: "Expression Cannot Be evaluated at this Time". The...
6
by: Suresh Jeevanandam | last post by:
Dear all, I read in "Python in a Nutshell" that when we have multiple assignments made on a single line, it is equivalent to have those many simple assignments and that the right side is evaluated...
12
by: paul | last post by:
Hi everyone, I'm debugging an FFT routine and it has thrown up a perplexing error which I cannot trace. Cannot anyone help? I've included the relevant code below with comments: rlft3(data_in1,...
21
by: Steven T. Hatton | last post by:
I'm trying to improve my formal understanding of C++. One significant part of that effort involves clarifying my understanding of the vocabulary used to describe the language. This is from the...
13
by: hn.ft.pris | last post by:
Hi: I have the following simple program: #include<iostream> using namespace std; int main(int argc, char* argv){ const double L = 1.234; const int T = static_cast<const int>(L); int arr;
32
by: silpau | last post by:
hi, i am a bit confused on expression evaluation order in expressions involving unary increment.decrement operators along with binary operators. For example in the following expression x...
5
by: Jeff Bean | last post by:
I need to compute a 64 bit file offset which will get passed to the _lseeki64 function. The inputs to the offset calculation are all unsigned shorts or unsigned longs. For example: unsigned...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.