Re: Datasets
#error
I think I have found it
In both the table and the data file I globally replaced SkillName with name and SkillValue with value. Changed nothing else. It works!
So it looks as if mixed case variable
By
Hugh Foster
·
#9901
·
|
Re: Datasets
#error
Last try tonight. Table
By
Hugh Foster
·
#9900
·
|
Re: Datasets
#error
Even odder! If I do this
_|FindResult={DSGet~SkillTable,1,SkillName}|
No error
If I do this
_|FindResult={DSGet~SkillTable,1,SkillName}|
_%FindResult%
Field not found
Urrrmmm
By
Hugh Foster
·
#9899
·
|
Re: Datasets
#error
I added that, thanks!
It still says when I do the DSGet that the Field not found SkillName. But there it is!
BTW is this valid, to check the returned
By
Hugh Foster
·
#9898
·
|
Re: Datasets
#error
Hi, Hugh -
One thing I noticed is in your XML, you're missing the "default" record. TableSmith datasets always have the default record, defined when you called DSCreate, as the first
By
Bruce Gulke
·
#9897
·
|
Re: Datasets
#error
Massive progress! Seems to read the data now. So I do this
?
{DSFind~SkillTable,0,SkillName=%TempSkill%}
?
and I get this
?
***ERROR on line 77 of table 'MgTrv2-Package-NPCs' - : 'Object reference
By
Hugh Foster
·
#9896
·
|
Re: Datasets
#error
Okay, if I understand you correctly¡both these lines are from the only .tab file in the project (except for a call to some names)
?
--
Hugh Foster
hugh@...
http://www.ace-dog.com
By
Hugh Foster
·
#9895
·
|
Re: Datasets
#error
silly question are you accessing the table from the same group? I recently discovered if you try to access from outside the group you get an error.
By
[email protected]
·
#9894
·
|
Re: Datasets
#error
Hugh,
DSCreate~ creates a dataset in the variable SkillTable, BUT if you haven¡¯t assigned a variable named SkillTable, it has no place to put it.
Assign a variable like any other variable and it
By
Vance
·
#9893
·
|
Datasets
#error
Hi all
New here, so please be kind. Many years experience with TS but I cannot for the love of zark get my head round datasets. I know they create a typed array. But every time I try and use them, I
By
Hugh Foster
·
#9892
·
|
Added Folder /Kingmaker
#file-notice
rassilonmonk@... added folder */Kingmaker*
By
[email protected] Notification <noreply@...>
·
#9891
·
|
Re: Math problem
You are awesome, thanks.
Scott
Sent: Wednesday, January 19, 2022 10:52
To: [email protected]
Subject: Re: [TableSmith] Math problem
The only thing I see is
By
Scott
·
#9890
·
|
Re: Math problem
The only thing I see is
{If~%Roll2%<0?{Color~Red,%*Roll1*%}/{Color~Blue,%Roll2%}}
Looks like it should be
{If~%Roll2%<0?{Color~Red,%*Roll2*%}/{Color~Blue,%Roll2%}}
Red is call Roll1 for every
By
Andrew Oswald
·
#9889
·
|
Re: Math problem
Figures I see the problem. The color red does not have the right variable.
Well, still, Happy New Year.
Scott
From: [email protected] <[email protected]> On Behalf
By
Scott
·
#9888
·
|
Math problem
Hey folks,
Happy New Year.
I am having a very odd problem with some code. The math is not working, and
for some reason, sometimes a '0' total comes out red. I am unsure if TS
can't handle
By
Scott
·
#9887
·
|
Re: mscorlib
Hi Val
I keep a recent copy of the config file that I can copy/paste over the existing one for this purpose. Usually it¡¯s because TS was not shut down prior to turning off my computer (usually
By
Vance
·
#9886
·
|
Re: mscorlib
Ok, fixed it.
In the confing file I had this:
<NumRolls />
instead of this
<NumRolls>1</NumRolls>
By
valminder_2
·
#9885
·
|
mscorlib
Hi.
TS was working perfectly well, then, suddenly, I receive this error and nothing works:
(this is the traduction, it appears in french on my computer)
mscorlib: the format of the input string is
By
valminder_2
·
#9884
·
|
Re: Registration help
Hello!
Not sure which email it would have come from (I think back in February it was still GMail), but I have a log of everyone who registered. I've sent you an email (from ProtonMail) with your
By
Bruce Gulke
·
#9881
·
|
Registration help
Hi, I purchased Tablesmith up to a year ago. My computer recently crashed. I now have a new one and am trying to get my installation up and running again. I've searched my emails and can't find the
By
jimmyflowers1@...
·
#9880
·
|