Field Name Starts with Number ???

Stimulsoft Reports.NET discussion
Post Reply
jayakumargr
Posts: 85
Joined: Sat Jan 20, 2007 4:21 am

Field Name Starts with Number ???

Post by jayakumargr »

Hi,

i have a table called Family which consist two columns(fields).

123 family_id
family_name

through dataset i pass the data to stireport for this table.while running the template it shows error like invalid token.

how to solve this error ?

Thanks in advance,
Jayakumar

Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

Field Name Starts with Number ???

Post by Guest »

You can't use the name of data columns, which begins with digit. You must place before digit some letter.

Thank you.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Field Name Starts with Number ???

Post by Vital »

Hello,

You can use NameInSource and Name properties of column. In NameInSource you need write:

123 family_id

In Name:

M_123_family_id

In Alias:

123 family_id

Report engine will be use NameInSource for access to database, Name for compiling and Alias for showing.

Thank you.
Post Reply