Click here to Skip to main content
15,884,686 members
Home / Discussions / Database
   

Database

 
GeneralMaster Detail Relationship in Strongly Typed Dataset Pin
C_Simpkins6-Apr-05 5:15
C_Simpkins6-Apr-05 5:15 
GeneralSQl -simple SP Pin
Anonymous6-Apr-05 4:48
Anonymous6-Apr-05 4:48 
GeneralRe: SQl -simple SP Pin
Scott Serl6-Apr-05 9:11
Scott Serl6-Apr-05 9:11 
GeneralHelp combing rows to columns Pin
BrockVnm6-Apr-05 3:59
BrockVnm6-Apr-05 3:59 
GeneralRe: Help combing rows to columns Pin
A.Wegierski7-Apr-05 1:57
A.Wegierski7-Apr-05 1:57 
GeneralNeed Connectivity Help ! Pin
Jethro636-Apr-05 3:22
Jethro636-Apr-05 3:22 
GeneralpCommand.CreateInstance(__uuidof (Command)) fails in 98 Pin
kumarbp6-Apr-05 0:49
kumarbp6-Apr-05 0:49 
GeneralCompare record in Visual Studio 2003.NET Pin
sukasukabo6-Apr-05 0:32
sukasukabo6-Apr-05 0:32 
In Visual Studio.Net2003 on Report Layout
after execute my store procedure , we have data like this :

Sample Data Chart Of Account (COA) Code and Description.


'100000' -> Header | '100000' INCOME
'110000' -> sub Header | '110000' OTHER INCOME
'110001' ---> detail | '110001' Other Income Branch 15750
----> there is Sub Total | Sub Total Other Income 15750
'120000' -> sub Header | '120000' INTEREST
'120001' ---> detail | '120001' Interest from Bank 12500
'121001' ---> detail | '121001' Interest from Stock Market 07500
----> there is Sub Total | Sub Total Interest 20000
'200000' -> Header | '200000' EXPENSE
'210000' -> sub Header | '210000' Expense from Allowance 10550
'210001' ---> detail | '210001' Expense from Overtime 08450
----> there is Sub Total | Sub Total Expense 19000
-finally there is Grand Total | Grand Total (15750+20000-19000) 16750
(INCOME - EXPENSE)


in PowerBuilder if we want to compare data record we can use llike this :
if name1 <> name1 (-1) then..... --> this mean we compare current recorod with previous record


i tried this :
=iif(Fields!COA.code.value.sbstring(0,1) <> Fields!COA.code.value.sbstring(0,1)(-1), '...', '<else>'
but it doesn't correct

how do i compare between COA code 100000 with 1100000 in Visual Studio.Net 2003 with or without using Grouping Function ? (especially between first digit and the second digit)
and what is the correct syntax ?




email : sukasukabo@hotmail.com
GeneralInsert Rows into a datatable in ado.net Pin
Madhu.A5-Apr-05 23:30
Madhu.A5-Apr-05 23:30 
GeneralRe: Insert Rows into a datatable in ado.net Pin
Ritesh12346-Apr-05 20:46
Ritesh12346-Apr-05 20:46 
Generalindexing service - problem with read html meta tag Pin
a_r_215-Apr-05 6:19
a_r_215-Apr-05 6:19 
GeneralReporting Services - Custom Rendering Extension Pin
blue-ice4-Apr-05 22:56
blue-ice4-Apr-05 22:56 
GeneralRe: Reporting Services - Custom Rendering Extension Pin
JeyKey5-Apr-05 18:51
JeyKey5-Apr-05 18:51 
QuestionShould i use SqlConnection or SqlDataAdapter Only ? Pin
kakarato4-Apr-05 21:57
kakarato4-Apr-05 21:57 
AnswerRe: Should i use SqlConnection or SqlDataAdapter Only ? Pin
Colin Angus Mackay4-Apr-05 23:49
Colin Angus Mackay4-Apr-05 23:49 
GeneralRe: Should i use SqlConnection or SqlDataAdapter Only ? Pin
kakarato5-Apr-05 15:33
kakarato5-Apr-05 15:33 
Questioncan we set foreign key from another database Pin
BSRK4-Apr-05 19:08
BSRK4-Apr-05 19:08 
AnswerRe: can we set foreign key from another database Pin
Nazmul Hassan5-Apr-05 5:02
Nazmul Hassan5-Apr-05 5:02 
GeneralDataAdapter.Fill Pin
Drew Stainton4-Apr-05 18:19
Drew Stainton4-Apr-05 18:19 
GeneralRe: DataAdapter.Fill Pin
Albert Pascual5-Apr-05 5:53
sitebuilderAlbert Pascual5-Apr-05 5:53 
QuestionCan multiple ds's be in a array? Pin
DEWright_CA4-Apr-05 11:52
DEWright_CA4-Apr-05 11:52 
QuestionCan we set foreign key from another database Pin
Anonymous4-Apr-05 2:38
Anonymous4-Apr-05 2:38 
GeneralUrgent Pin
kalikoi4-Apr-05 0:46
kalikoi4-Apr-05 0:46 
GeneralRe: Urgent Pin
WoutL4-Apr-05 0:54
WoutL4-Apr-05 0:54 
Generalconnecting database over internet Pin
Member 4472173-Apr-05 21:02
Member 4472173-Apr-05 21:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.