Paradox Community

Items in pnews.paradox-programming

Subject:Using library (from lsl) to get value from table and add to dynarray on form
Date:6 Feb 2019 23:41:20 -0400
From:"bob shin" <shins+4(3)@gmail.com>
Newsgroups:pnews.paradox-programming

Hi

I am trying to add to dynarray(form) values from table using library.lsl.


I can do this with library on form, but having diffculties using library.lsl


this is example of how I do it using library on form below.
CardAr is dynarray[] anytype

method zzGetSettingCard()  logical

t.open(":PRIV:globalcardinfo")
	if t.nrecords() = 0 then
	else
	CardAr["merchantid"] = t.merchantid
	CardAr["processcard"] = t.processcard
	CardAr["addtipline"] = t.addtipline
		if t.signaturereqamount = "" then 
			CardAr["signaturereqamount"] = 99
		else
			CardAr["signaturereqamount"] = t.signaturereqamount
		endif
	endif
t.close()


return true
endMethod

TIA

Bob Shin


Copyright © 2004 thedbcommunity.com