What does [Item_Name] in [ITEM_SEND_TBL] at [ITEM_DBF] expect.
hiho, i want to insert a dataset into the [ITEM_SEND_TBL] at [ITEM_DBF], but im confused about the [Item_Name] column.
well i sadly cant test it for now (no pserver), so i want to ask u.
this value expects a varchar(32), but [[Index]] in [ITEM_TBL] expects int, and [szName] in [ITEM_TBL] expects varchar(255). so it doesnt match and i am confused about that, what does it expect, do u have some example values for the [Item_Name] column?
if the value doesnt expects rly the item name instead of the item id, how can i get the item name from the item id? is the item id placed in [[Index]]?
Re: What does [Item_Name] in [ITEM_SEND_TBL] at [ITEM_DBF] expect.
On the website I downloaded, it puts the Item ID (from defineItem.h) into the item name column and it seems to work just fine. I didn't know you could do this, but since it works just fine, use that.
Re: What does [Item_Name] in [ITEM_SEND_TBL] at [ITEM_DBF] expect.
Quote:
Originally Posted by
ShadowDragon42
On the website I downloaded, it puts the Item ID (from defineItem.h) into the item name column and it seems to work just fine. I didn't know you could do this, but since it works just fine, use that.
good, i already programed the data access class on that way, seems i got the right way =3
thx.