Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26212

FWHMARIADB Samples

$
0
0
[b:1bjroj9u][size=150:1bjroj9u]Running Totals (Cumulative Totals) [/size:1bjroj9u][/b:1bjroj9u] On several occassions we need to show running totals (cumulative totals) of a value in a browse. It is normally convenient to maintain the running totals in an array and display in the browse. But this involves additional work of building an array and maching it with normal data in the browse. There are times when it is more convenient, if we can directly read the data along with running totals and display directly. In such cases, we may use SQL query like this: MYSQL [code=fw:1bjroj9u][/code:1bjroj9u] ORACLE [code=fw:1bjroj9u][/code:1bjroj9u] DBF (read into array) [code=fw:1bjroj9u][/code:1bjroj9u] The program posted in can use an sql statement like this. [code=fw:1bjroj9u][/code:1bjroj9u] This is working sample: [b:1bjroj9u]maria12.prg[/b:1bjroj9u] [code=fw:1bjroj9u][/code:1bjroj9u] [url=https://imageshack.com/i/poVaXPXGp:1bjroj9u][img:1bjroj9u]http://imagizer.imageshack.us/v2/xq90/924/VaXPXG.png[/img:1bjroj9u][/url:1bjroj9u]

Viewing all articles
Browse latest Browse all 26212

Trending Articles