This is probably a no-brainer for you wizards out there...
I am trying to have data from a dbf file display and update as the record changes. I want the data display to look like a 'say' (just text over the background) not a 'get' (square box with data in it).
I tried using the grastring on a dcsay, but it isn't getting refreshed with the new value. Simple example attached.
I'm using xbase 355 and express 254 for this.
(In example. just click 'search' button and that changes value of variable (m_serno), but grastring say still shows old value
DCSAY / GET question
DCSAY / GET question
- Attachments
-
- test.zip
- (1.43 KiB) Downloaded 956 times
There are only 10 kinds of people - those who understand binary and those who don't 

Re: DCSAY / GET question
Bruce,
if i remember properly, you can't have live info in a grastring.. needs to be a dcsay inside a codeblock
i do it this way:
@ xx,yy DCSAY {||myalias->myfield}
that will update on a refresh
Brian
if i remember properly, you can't have live info in a grastring.. needs to be a dcsay inside a codeblock
i do it this way:
@ xx,yy DCSAY {||myalias->myfield}
that will update on a refresh
Brian
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Re: DCSAY / GET question
THAT WORKS!!!!! I wish I knew that a while ago... could have made things MUCH slicker.
mucho thankso....
mucho thankso....
There are only 10 kinds of people - those who understand binary and those who don't 

Re: DCSAY / GET question
Related question....
How would you do that with a DCMULTILINE?
@ 8,15 DCMULTILINE {||calls->c_problem} SIZE 50,5 gives a syntax error
How would you do that with a DCMULTILINE?
@ 8,15 DCMULTILINE {||calls->c_problem} SIZE 50,5 gives a syntax error
There are only 10 kinds of people - those who understand binary and those who don't 

Re: DCSAY / GET question
DCMULTILINE cContents ID "CCONTENTS"BruceN wrote:Related question....
How would you do that with a DCMULTILINE?
@ 8,15 DCMULTILINE {||calls->c_problem} SIZE 50,5 gives a syntax error
DC_GetObject(GetList,'CCONTENTS'):setData(cNewContents)
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Re: DCSAY / GET question
It looks like I need to add support for a code block.
I'll put it on my list.
I'll put it on my list.
The eXpress train is coming - and it has more cars.
Re: DCSAY / GET question
OK.. now I feel real good. It wasn't some stupid thing I was doing, and I found an 'oversight' in your library. Gee, I may have actually contributed something that will help others!
There are only 10 kinds of people - those who understand binary and those who don't 

Re: DCSAY / GET question
Bruce,BruceN wrote:OK.. now I feel real good. It wasn't some stupid thing I was doing, and I found an 'oversight' in your library. Gee, I may have actually contributed something that will help others!
Even a blind squirrel occasionally finds an acorn


I've felt that way many a time..
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Re: DCSAY / GET question
And I DEFINATELY qualify as the progamming equivilent of a blind squirrel.
If you took everythnig I know about programming and shove it up a gnat's ass it would rattle around like a pea in a boxcar!
b
If you took everythnig I know about programming and shove it up a gnat's ass it would rattle around like a pea in a boxcar!
b
There are only 10 kinds of people - those who understand binary and those who don't 
