topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
check adodb connection | hi
is there any way (function) to know if there is an adodb connection active ?
thanks |
check adodb connection | No se si sea lo que buscas
[url:3ayyiqbm]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=36268&hilit=ADO+state#p216489[/url:3ayyiqbm] |
check columns array - Resolved - | I must check if there are all numbers from 1 to 90 on each column
and I made this function but it not run ok
[img:tnz53q1s]https://i.postimg.cc/prhp2HNG/fffffffffffffffffff.png[/img:tnz53q1s]
[code=fw:tnz53q1s]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="... |
check existing first and last on customer - RESOLVED !!! | Silvio,
[quote:3dnyw4cp]>how can i do this check and see that the name entered is already in the archive?[/quote:3dnyw4cp]
This is a classic problem when you are not using unique primary-keys. Primary-keys are one of the basic principles of relational-database programming. Another principle is to store each piece of ... |
check existing first and last on customer - RESOLVED !!! | I have the primary keys, the customer database is indexed on name, surname, city, province and region.
the primary key that was there before, ie "0001" four characters, I have hurt to remove it due to the countless problems both with tdatabase and with tdata.
Yes, I know you and nages gave me many examples last y... |
check existing first and last on customer - RESOLVED !!! | when I add a record I encounter difficulties because the customer archive is not indexed on first and last
I must make a check if the first and last exist
and on the network I cannot make an index on the fly
so if I check the First or the Last it tells me that it is already existing
[b:2mz04wqy]the problem is that ... |
check existing first and last on customer - RESOLVED !!! | Silvio,
[quote:2lebquzt]I have the primary keys, the customer database is indexed on name, surname, city, province and region.[/quote:2lebquzt]
That is not guaranteed to be unique, and it takes up way to much space on the disk. You need to use an ID number.
[quote:2lebquzt]the primary key that was there before, ie "... |
check existing first and last on customer - RESOLVED !!! | [quote:2hbig8nk] the customer database is indexed on name, surname, city, province and region[/quote:2hbig8nk]
Note that this must take 30-40 characters in every file that needs to be linked to the customer file. That is a lot of wasted disk space, and slows down the program. Plus the index would be huge.
A 4-8 chara... |
check existing first and last on customer - RESOLVED !!! | Mr. Silvio
Without any special index:
[code=fw:zobw1u18]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">local</span> oDbf<br /> <span style="color: #00C800;">local</span> cName := <span style="color: #ff0000;">"David"</span><br /> <sp... |
check existing first and last on customer - RESOLVED !!! | [quote="nageswaragunupudi":1jyclufq]Mr. Silvio
Without any special index:
[code=fw:1jyclufq]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">local</span> oDbf<br /> <span style="color: #00C800;">local</span> cName := <span style="color: #ff0000;">"David"</span><br /> <s... |
check existing first and last on customer - RESOLVED !!! | The field sizes for LAST and FIRST in the sample database you sent me are both 18 characters not 20. You had better check yours.
Your GETs should be using the current field size, so you shouldn't need to pad them unless you are looking them up in a different file, then you need to use the field size of that file (or m... |
check existing first and last on customer - RESOLVED !!! | [quote="James Bott":38v6ing1]The field sizes for LAST and FIRST in the sample database you sent me are both 18 characters not 20. You had better check yours.
Your GETs should be using the current field size, so you shouldn't need to pad them unless you are looking them up in a different file, then you need to use the ... |
check existing first and last on customer - RESOLVED !!! | Silvio,
Hmm, I see that my version of TDatabase does not have a Lookup() method. And Nages didn't provide the Found() function. So you are dead in the water until you have those. Does your version of TDatabase have the Lookup() method?
Perhaps you can just use the Seek() method?
James |
check existing first and last on customer - RESOLVED !!! | 1) The function FOUND() is a native Clipper/Harbour RDD function and has been there from the time Clipper was born.
2) Method LookUp(...) was first introduced in Sep 2017 version and exists in FWH1805. |
check existing first and last on customer - RESOLVED !!! | [quote="James Bott":2pgk99ur]Silvio,
Hmm, I see that my version of TDatabase does not have a Lookup() method. And Nages didn't provide the Found() function. So you are dead in the water until you have those. Does your version of TDatabase have the Lookup() method?
Perhaps you can just use the Seek() method?
James[/q... |
check existing first and last on customer - RESOLVED !!! | [quote="nageswaragunupudi":3cf86pkc]1) The function FOUND() is a native Clipper/Harbour RDD function and has been there from the time Clipper was born.
2) Method LookUp(...) was first introduced in Sep 2017 version and exists in FWH1805.[/quote:3cf86pkc]
Nages do you saw my problem? |
check existing first and last on customer - RESOLVED !!! | Silvio,
[code=fw:1dz459hd]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> cNomeIntero :=alltrim<span style="color: #000000;">(</span>cFirst<span style="color: #000000;">)</span> +alltrim<span style="color: #000000;">(</span>cLast<span style="color: #0000... |
check existing first and last on customer - RESOLVED !!! | Nages,
[quote:32j45xog]1) The function FOUND() is a native Clipper/Harbour RDD function and has been there from the time Clipper was born.
2) Method LookUp(...) was first introduced in Sep 2017 version and exists in FWH1805[/quote:32j45xog]
Thanks for clearing that up. I don't remember using FOUND() with Clipper even... |
check existing first and last on customer - RESOLVED !!! | [quote:lp0095k3]I didn't find the Lookup() method in TDatabase because I was looking a the sorted methods in my editor and the actual method name is TD_LOOKUP, so it was under the T's not the L's.
[/quote:lp0095k3]
Method LookUp exists:
[code=fw:lp0095k3]<div class="fw" id="{CB}" style="font-family: monospace;">  ... |
check existing first and last on customer - RESOLVED !!! | Nages,
[quote:2u4pjt79]The original question in the first post was how to find if a combination of two fields already exists in the table. I provided a simple and straight answer for that which works irrespective of the indexes[/quote:2u4pjt79].
Sorry, I never meant to imply otherwise.
I was just pointing out that u... |
check existing first and last on customer - RESOLVED !!! | cNomeintero was only a test.
I wish use the same fields i pubblish
clicognome as First
clinome as last
of 20 characters |
check existing first and last on customer - RESOLVED !!! | [quote="James Bott":2mzfs0mq]Nages,
[quote:2mzfs0mq]The original question in the first post was how to find if a combination of two fields already exists in the table. I provided a simple and straight answer for that which works irrespective of the indexes[/quote:2mzfs0mq].
Sorry, I never meant to imply otherwise.
I... |
check existing first and last on customer - RESOLVED !!! | Please change this line
[code=fw:1f8mbmb7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">IF</span> oDbf:<span style="color: #000000;">LookUp</span><span style="color: #000000;">(</span> UPPER<span style="color: #000000;">(</span> PADR<span style="color: #000000;">&... |
check existing first and last on customer - RESOLVED !!! | thanks Rao , run good!!! |
check existing first and last on customer - RESOLVED !!! | Offtopic:
Is it a practice or tradition in your country to name children after their grandfather/grandmother's name?
I am curious because it is a tradition to give the first son his paternal grandfather's name and the first daughter her paternal grandmother's name in our region of our country. Same way, the second so... |
check existing first and last on customer - RESOLVED !!! | [quote="nageswaragunupudi":f506annf]Offtopic:
Is it a practice or tradition in your country to name children after their grandfather/grandmother's name?
I am curious because it is a tradition to give the first son his paternal grandfather's name and the first daughter her paternal grandmother's name in our region of ... |
check existing first and last on customer - RESOLVED !!! | Thanks for the information. We have similar traditions. |
check if NIP is active | some one has check active NIP
<!-- m --><a class="postlink" href="https://ppuslugi.mf.gov.pl/_/">https://ppuslugi.mf.gov.pl/_/</a><!-- m -->
API
<!-- m --><a class="postlink" href="https://www.finanse.mf.gov.pl/pp/komunikaty/-/asset_publisher/qqR2/content/id/6347532">https://www.finanse.mf.gov.pl/pp/komuni ... id/63... |
check if a bmp or jpg image is valid | Just try to open the image inside a TRY/CATCH/END structure and trap the error.
EMG |
check if a bmp or jpg image is valid | There is no way to test via Windows API or whatever, because with try catch
entering the try block and catch the app was already, and that they want to avoid |
check if a bmp or jpg image is valid | Sorry, I don't understand.
EMG |
check if a bmp or jpg image is valid | is there any way to check if a bmp or jpg file is valid in FiveWin / xHarbour, since I have my application in a folder of pictures of products show on the screen as the sale goes through.
more is happening to stop the application and find that you have some images that the program can not open and lock. |
check if a bmp or jpg image is valid | I say this, I wanted to see if the photo or image file is valid.
example:
if checkimg ("teste.jpg")
obmp: loadbmp ("teste.jpg")
endif
something like this. Why try to catch suppose it to have it established in the block between the try and catch the app as it is happening.
has no function of the Windows API funct... |
check if a bmp or jpg image is valid | [quote="gss200610":1lg5g4uo]I say this, I wanted to see if the photo or image file is valid.
example:
if checkimg ("teste.jpg")
obmp: loadbmp ("teste.jpg")
endif
something like this.[/quote:1lg5g4uo]
Yes, and I already answered: use a TRY/CATCH/END structure:
[code=fw:1lg5g4uo]<div class="fw" id="{CB}" style="f... |
check if a control is hidden or not | Could someone please tell me how to detect a hidden control?
I've tried:
[code=fw:3f217lbt]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> BUTTONBMP <span style="color: #0000ff;">ID</span> <span style="color: #000000;">505</span> <span style="color: #0000ff;">OF... |
check if a control is hidden or not | Since this was urgent I solve it like this:
[code=fw:3069bfz1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">LOCAL</span> lHide:=.F.<br />...<br /><span style="color: #0000ff;">REDEFINE</span> BUTTONBMP <span style="color: #0000ff;">ID</span> <span style="color: #000000;">505</... |
check if a control is hidden or not | [code=fw:2rs2bp5p]<div class="fw" id="{CB}" style="font-family: monospace;">msgstop<span style="color: #000000;">(</span> IsWindowVisible<span style="color: #000000;">(</span> oBmp<span style="color: #000000;">[</span><span style="color: #000000;">3</span><span style="color: #000000;">]</span>:<span sty... |
check if a control is hidden or not | The only variation I did not try!
<!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: -->
Thanks
ELLD
[code=fw:3t17grjs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> BUTTONBMP <span style="color: #0000f... |
check if there is an ID in resource | How can I check, if there is an ID in my resource
eg.
IsId(oDialog,4711) |
check if there is an ID in resource | Before or after the controls have been REDEFINEd?
EMG |
check if there is an ID in resource | [quote="EnricoMaria":15s5yi9t]Before or after the controls have been REDEFINEd?
EMG[/quote:15s5yi9t]
Before they have been REDEFINED - to check, if the ID exists. |
check if there is an ID in resource | I don't know, sorry. It seems you can't.
EMG |
check if there is an ID in resource | Frank,
You can only do it from the ON INIT clause of the ACTIVATE DIALOG ... command:
GetDlgItem( oDlg:hWnd , nID ) --> hWndControl
hWndControl will be zero if it does not exists |
check if there is an ID in resource | You are right, it works!
EMG |
check on a archive from a array- resolved | I have to check in an archive to see if there are records that need to be deleted because they are not needed.
To check which elements are not necessary I have to compare if two items of an array (adata) previously loaded are the same in the archive.
If in the archive a record has the contents of two fields that are no... |
check on a archive from a array- resolved | Perhaps Now I resolved
[code=fw:2m1fj1z5]<div class="fw" id="{CB}" style="font-family: monospace;">oTariffe:=TDatabase<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #000000;">Open</span><span style="color: #000000;">(</span> , cDir+<span style="color: #ff0... |
check on a archive from a array- resolved | Silvio,
[quote:2nhfg7vf]If in the archive a record has the contents of two fields
that are not equal to the items of aData must be deleted.[/quote:2nhfg7vf]
my test to filter data from a array
Just to know if the speed needs to be increased :
how many records You have to test and what is the length of the array to ... |
check on a archive from a array- resolved | Uwe,
I cannot Know it
on archive can be also 2000 rows
on aData array generally there are now 24 rows but it depend from some factors
I need it ...I can explain you
when creating a beach I can insert elements that are for hire, for these elements the price list must be made for each price list which are generally ... |
check on a archive from a array- resolved | Silvio,
how often You have to run this test.
I'm just thinking about. to include a meter-control in case of a longer running time.
regards
Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> |
check on a archive from a array- resolved | No because the final user can run this procedure at init of each season.
i must know wich record to erase because then on report of price list the record deleted must no printed |
check on a archive from a array- resolved | Silvio,
I tested a solution for better speed ( short and very fast )
It only scans the array-data and not the maybe possible 2000 records from the dbf
[code=fw:3j42ezwu]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> SELECT_DATA<span style="color: #000000;... |
check on a archive from a array- resolved | [quote="ukoenig":3j7c3s18]Silvio,
I tested a solution for better speed ( short and very fast )
It only scans the array-data and not the maybe possible 2000 records from the dbf
[code=fw:3j7c3s18]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> SELECT_DATA<s... |
check on get | [quote="nageswaragunupudi":3tno90zp][quote:3tno90zp]I tried to found the result of oGet:lchanged and give me no exist
Code:
Error occurred at: 27-11-2023, 11:06:45
Error description: Error BASE/1004 Metodo non disponibile: LCHANGED
Args:
[ 1] = U
[/quote:3tno90zp]
This error means that oGet is NIL[/quo... |
check on get | I would like to check if any get is modified during editing, if it is modified the procedure must ask the user to save or not
when the user presses "Exit" I wanted to check if the gets have been modified
I made
[code=fw:nd3k215r]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;"... |
check on get | There will be better ways, but i would think of making the aGet 2 dimensional and fill the second part with the original data.
After edit you could simple check the values for differences in the aGet |
check on get | yo haria asi:
[code=fw:1c7np0i4]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\FWH\SAMPLES\SILVICHK.PRG</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">STATIC<... |
check on get | FWH provides a way for the last many years.
if oGet:lChanged is true, the value is edited and modified.
We can also check the original value with oGet:uOriginalValue. |
check on get | [quote="nageswaragunupudi":3oxvzu0s]FWH provides a way for the last many years.
if oGet:lChanged is true, the value is edited and modified.
We can also check the original value with oGet:uOriginalValue.[/quote:3oxvzu0s]
Mister Rao:
[url:3oxvzu0s]https://forums.fivetechsupport.com/viewtopic.php?f=3&t=... |
check on get | Nages,
I'm making a complex but simple procedure to be able to use it even for those who don't have the latest version of fwh, it's a utility that I started a long time ago and then left because I was hoping for other procedures started by certain people who then didn't have having completed the work and now I see it q... |
check on get | [quote="karinha":39c6b5al]yo haria asi:
[code=fw:39c6b5al]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\FWH\SAMPLES\SILVICHK.PRG</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style... |
check on get | [quote="nageswaragunupudi":2sjywr5p]FWH provides a way for the last many years.
if oGet:lChanged is true, the value is edited and modified.
We can also check the original value with oGet:uOriginalValue.[/quote:2sjywr5p]
Nages,
I not understood
I tried to found the result of oGet:lchanged and give me no exist
[code... |
check on get | [quote:2l8m2ljv]I tried to found the result of oGet:lchanged and give me no exist
Code:
Error occurred at: 27-11-2023, 11:06:45
Error description: Error BASE/1004 Metodo non disponibile: LCHANGED
Args:
[ 1] = U
[/quote:2l8m2ljv]
This error means that oGet is NIL |
check on get | [quote="nageswaragunupudi":1ye7xqlw][quote:1ye7xqlw]I tried to found the result of oGet:lchanged and give me no exist
Code:
Error occurred at: 27-11-2023, 11:06:45
Error description: Error BASE/1004 Metodo non disponibile: LCHANGED
Args:
[ 1] = U
[/quote:1ye7xqlw]
This error means that oGet is NIL[/quo... |
check on get | //aGet
lAsk:= Aeval( aGet, { | o | o:lChanged } )
or
Aeval( aGet, { | o | if(o:lChanged,lAsk := .t.,.f.) } )
give me error
Error description: Error BASE/1004 No exported method: LCHANGED
Args:
[ 1] = U
Stack Calls
===========
Called from: => LCHANGED( 0 )
Called from: test.prg => (b)S... |
check on get | [quote:39wagv6q]
what is difficult?
bother variable of the type "lsave:= .t. or lsave:= .f." It's just for kids, it seems like you're still programming with the clipper
[/quote:39wagv6q]
Silvio, I learned to program in CLIPPER 5.3 and I continue to use the CLIPPER 5.3 modus operandi to this day. And I don't want to pr... |
check on get | Dear sir, I started a long time before you, with the Autumn 86 version of the Nuntucket Clipper, then I moved on to the Summer 87 version, that is, many years before the Clipper became Ca-Associates who killed the clipper with version 5.3, then we moved on to Clip4win, tried Alaska, and then Harry Evans, an Austrian fr... |
check on get | [quote="Silvio.Falconi":cavgvcyo]Dear sir, I started a long time before you, with the Autumn 86 version of the Nuntucket Clipper, then I moved on to the Summer 87 version, that is, many years before the Clipper became Ca-Associates who killed the clipper with version 5.3, then we moved on to Clip4win, tried Alaska, and... |
check on get | Dear João,
Did you know that in our FW-samples we have a program called moon.prg?
It calculates the phases of the full moon.
I've been conducting an empirical study for many years on people's behavior during the full moon. In the company, we send out warning emails,
as people in support become extremely unpleasantl... |
check on get | Master Otto, I thank you for the advice. I'm a calm and peaceful person, but I don't have cockroach blood. I apologize if I hurt anyone in any way. Silvio Falconi has the gift of blowing anyone away, in any phase of the moon. hahahahahaha, 1000 apologies mister Otto.
Maestro Otto, le agradezco el consejo. Soy una pers... |
check on get | Dear João,
it's difficult in a foreign language.
I just wanted to say that one shouldn't see and hear everything during full moon times.
It's not a criticism of you.
With kind regards,
Otto |
check on get | [quote="Otto":56equty2]Dear João,
it's difficult in a foreign language.
I just wanted to say that one shouldn't see and hear everything during full moon times.
It's not a criticism of you.
With kind regards,
Otto[/quote:56equty2]
Mr. Otto,
[code=fw:56equty2]<div class="fw" id="{CB}" style="font-family: monospace;"><... |
check on get | Si no cambio los valores de los gets, a mi me devuelve falso esa funcion |
check on get | el valor .t siempre me resulta extraño. |
check on get | [quote="Silvio.Falconi":3s11wjvg]el valor .t siempre me resulta extraño.[/quote:3s11wjvg]
Please let us know the FWH version |
check on get | I tested with this program and oGet:lChanged is working well.
[code=fw:ehsbcqrf]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000... |
check on get | [quote="nageswaragunupudi":2jf9nwnd]I tested with this program and oGet:lChanged is working well.
[code=fw:2jf9nwnd]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function... |
check on get | Simple
[code=fw:24jjtrah]<div class="fw" id="{CB}" style="font-family: monospace;">@ r,c <span style="color: #0000ff;">BUTTON</span> .......... ;<br /><span style="color: #0000ff;">ACTION</span> <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> DlgModified<span style="color: #000000;">&#... |
check on get | Dear Mr. Rao,
I have recreated the example with webview. Perhaps we could enhance it with the function
var s = SendToFWH(evt.target.id, evt.type, someData)
.then(s => {
alert(s.result);
})
We could then build a UI with the webview as a template.
Just an idea.
Kind regards,
Otto
[img:3ext3nql]... |
check on get | Nice |
check on get | [quote="Otto":3w1deoz3]Dear Mr. Rao,
I have recreated the example with webview. Perhaps we could enhance it with the function
var s = SendToFWH(evt.target.id, evt.type, someData)
.then(s => {
alert(s.result);
})
We could then build a UI with the webview as a template.
Just an idea.
Kind regards... |
check on tree hosted on xbrowse | Hello everyone;
I'm back after a long hiatus.
I'd like to add a checkbox as the first column on an xbrowse browsing a tree. Any sample code or recommendations?
Thank you,
Reinaldo. |
check xbrowse from array | This is a sample of Rao but I have an array with customer allready checked
Local cTAgs:="Homer; Tom; Johnny;"
I convert eit on array
Local aTags := iif(AT(';',cTAGS)!=0, HB_ATokens( cTAGS, ";"), {})
When I open the xbrowse I wish check this customers
How I can make ?
[code=fw:3b252rip]<div class="fw" id="{... |
check xbrowse from array | any solution please ? |
check xbrowse from array | Please wait |
check xbrowse from array | I 'm thinking perhaps ...
local aselected := {}
USE CUSTOMER NEW ALIAS "CUST" SHARED VIA "DBFCDX"
Do while .not. cust->(eof())
cText := alltrim(cust->First)
IF !Empty( ascan( aTags,cText) )
aadd(aselected,cust->(recno()))
... |
check xbrowse from array | I'm waiting for....
[img:3h3us3mn]https://s17.postimg.cc/3q8lhxupr/rao.jpg[/img:3h3us3mn] |
check xbrowse from array | Thanks for the Italian Coffee!
[code=fw:19rtebas]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br />REQUEST DBFCDX<br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">... |
check xbrowse from array | I not see the footer
[img:y4ftdqti]https://s14.postimg.cc/avozqgfc1/test_check.jpg[/img:y4ftdqti]
Sorry I not understood why CUSTSEL.TXT ?
I have a only a string cTAgs:="Homer; Tom; Johnny;" |
check xbrowse from array | ok now I see the footer... |
check xbrowse from array | [size=200:6h0keeo3]thanks Mr Rao [/size:6h0keeo3]!!!!
[img:6h0keeo3]https://s18.postimg.cc/j5wr29dfd/image.jpg[/img:6h0keeo3]
it was just what I was trying to build!!! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
checkbox | Se puede poner un checkbox dentro de una celda de wbrowse?? Utilizo wbrowse de Hernán.Gracias |
checkbox | Luis,Puedes usar dos bitmaps, con la imagen de un checkbox marcado y desmarcado, y mostrarás el que corresponda según el valor del campo lógico asociado:... BROWSE ... FIELDS If( Alias->campo, hBmpOn, hBmpOff ), ... |
checkbox and on change | REDEFINE CHECKBOX oDat[13] VAR aDat[13] ID 113 OF oPrenota;
ON CHANGE( aDat[11]:=ctod(dBassa1+cYEAR),oDat[11]:refresh(),aDat[12]:= ctod(dBassa4+cYEAR),oDat[12]:refresh())
this run ok when I click on checkbox
when I erase the click on this check I want it rechange the variables aDat[11] and aDat[12] with the ... |
checkbox and on change | Hello Silvio,
the modified example : Testchck.prg uses [color=#FF0000:3bu1muny]oChk:lChecked[/color:3bu1muny]
[code=fw:3bu1muny]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="colo... |
checkbox and on change | danke |
checkbox and on change | Uwe the problem is on field date because it not refresh the second get
this not run not refresh the gets
REDEFINE CHECKBOX oDat[13] VAR aDat[13] ID 113 OF oPrenota;
ON CHANGE IIF( oDat[13]:lChecked = .T., ;
(aDat[11]:=ctod(dBassa1+cYEAR),;
oDat[11]:refresh(),;
... |
checkbox and on change | Hello Silvio,
Maybe something wrong with Your Date-define ( SET DATE .... ).
I tested this and it works :
[img:3c32pu2l]http://www.pflegeplus.com/pictures/check0.jpg[/img:3c32pu2l]
[code=fw:3c32pu2l]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cYEAR := STR<span style="color: #00000... |
checkbox and on change | uwe
i USE
REDEFINE DTPICKER oDat[11] VAR aDat[11] ID 111 OF oPrenota UPDATE ON CHANGE (oDat[11]:Refresh(),oSay2:refresh())
REDEFINE DTPICKER oDat[12] VAR aDat[12] ID 112 OF oPrenota UPDATE ON CHANGE (oDat[12]:Refresh(),oSay2:refresh())
REDEFINE CHECKBOX oDat[13] VAR aDat[13] ID 113 OF oPrenota; // intera... |
checkbox and on change | Silvio,
I tested with datapicker. It seems, the fields don't display empty dates.
I found another solution, to work with Your checkbox :
You need 2 extra SAY's, to display the values from the Datapicker and empty Dates from the checkbox.
[img:viulx0dr]http://www.pflegeplus.com/pictures/picker1.jpg[/i... |
checkbox and on change | we why not we ask to Antonio ? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.