topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
file di excel protetto da password | Non devi lasciare i parametri a NIL. La documentazione è quella che danno con Office, i file VBA*.CHM.
EMG |
file to FTP | Hi, all !
I have total access to directory ftp. How I can copy file to this directory ? |
file to FTP | Natter, have you tried with:
FTPPutFile( hConnect, cUpFile, cUpFile, 0, 0 )
best regards,
Otto |
file to FTP | Otto, thanks for your help.
What is "nConnect" ? What use - TFTP or TFTPClient ? |
file to FTP | Natter,
I use this code for FtpGetFile. But I think this should also work with FtpPutFile.
Best regards,
Otto
[code=fw:1t0ziiqq]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Testing the FiveWin new Internet Classes</span><br /><br /><span style="color: #00D7D7;">#include</s... |
file to FTP | Copy file from FTP to local computer I do with URLDownloadToFile() - it work fine.
If do FTPPutFile() from TFTP then It's not work. |
file to FTP | Natter, what error do you get?
Best regards,
Otto |
file to FTP | I not get error, but and file not copy to FTP |
file to FTP | Natter,
how do you test that you have full access as you write in your first post?
if FTPPUTFILE( hConnect, CurDir() +"\"+ aInfo[I,1], "/testinfo/STB1/"+aInfo[I,1], 0, 0 )=.t.
I have some FTP servers where the name for example is
test.info and the directory STB1.
Via http:// I can use <!-- w --><a class="postlink... |
file to FTP | I do then :
function Main()
local oInternet := TInternet():New()
local oFTP := TFTP():New( "ftp.MyFtp", oInternet, login, password )
? oFTP = object
? oFTP:hFtp >0
? FTPPutFile( oFTP:hFtp, LocalFile, FtpFile, 0, 0 ) = .F.
return NIL
Examle .\samles\ftpdir.prg with this parameters work fine |
file() -returns .f. when file is present? | Hi.
I'm checking for file existence using file( cfile ). It returns false. However when I check the directory, I see the file is present.
This is the file I'm checking for:
[quote:kg1qm2dh]
C:\Users\ADMINI~1\LOCALS~1\Temp\page001.png
[/quote:kg1qm2dh]
Here is the actual code snippet:
[code=fw:kg1qm2dh]<div class... |
file() -returns .f. when file is present? | Never mind. I found the problem.
Thank you,
Reinaldo. |
file() -returns .f. when file is present? | Hello Reinaldo,
what was the problem?
Best regards,
Otto |
file() -returns .f. when file is present? | Hi Otto;
The problem was timing. WinExec() hadn't finished before the check for file() was being executed. I changed WinExec for Waitrun() and that fixed the timing problem.
Thank you,
Reinaldo. |
file() -returns .f. when file is present? | Hello Reinaldo,
I only ask becouse I had similar problems when SMB 2 were on.
Search the forum for SMB.
Best regards,
Otto
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=21740&p=115743&hilit=smb#p115743">viewtopic.php?f=3&t=21740&p=115743&hilit=smb#p115743</a><!-- l --> |
file() function | I'm tryin to use the file() function to check if a file in the foldere "\My documents\immagini\" exists, but the function always returns .f. even if the file is there....Any help ?? |
file() function | Andrea,In Windows Mobile there is no the concept of "drives", so we have to use the current directory. Please try this example:test.prg[code:gu7c3pgh]
#include "fwce.ch"
function Main()
MsgInfo( File( CurDir() + "\test.exe" ) )
return nil
[/code:gu7c3pgh] |
file() function | Andrea,You just have to remove the first slash bar:test.prg[code:1xymmd9b]
#include "fwce.ch"
function Main()
MsgInfo( File( "My Documents\myfile.txt" ) )
return nil
[/code:1xymmd9b] |
file() function | thank you Antonio, everything works fine now.There was a too little bug to be seen in my code! |
fileXLSxH.LIB | Amigos
Cual será la ultima versión de: fileXLSxH.LIB
gracias
david |
fileXLSxH.LIB | David;
la última que tengo es de enero de 2012
pasame tu correo si la necesitas |
fileXLSxH.LIB | Muchas Gracias
<!-- e --><a href="mailto:davidbarrio_arg@hotmail.com">davidbarrio_arg@hotmail.com</a><!-- e -->
david |
filecopy not run | i made
cImgPath := ".\images\"
Filecopy( lfn2sfn(rtrim(EL->ELIMGLIB)), cImgPath+cFileLib)
sometimes save the file but many times not save any files
any solution ? |
filecopy not run | Silvio,
I'm using path-vars.
Never noticed any problem
[color=#0000FF:96xsa652]c_path := cFilePath(GetModuleFileName( GetInstance() ) ) // Main-path
c_path1 := c_path + "IMAGES\"
c_path2 := c_path + "CAPTURES\"
oImage:LoadBmp( c_path1 + cImage )[/color:96xsa652]
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon... |
filecopy not run | yes Uwe
my problem is another
I explain you
when an end user wants to insert an image he selects the image from his computer in any part or from his usb stick and inserts the name and image in the ELIMGLIB field of the item.dbf archive. the procedure must copy this file from the source and must save it in the fol... |
fileedit | Hello,
does someone has a fileedit.exe which is working under 32 bit.
Best regards,
Otto |
fileedit | What does fileedit.exe do? |
fileedit | Dear Mr. Rao,
fileedit is for editing EASYREPORTs definition files.
Thanks to xBrowse it was not a big task to Change this old Clipper / canal5 code to current Version.
Best regards,
Otto
[img:3laefvvj]http://www.atzwanger-software.com/fw/fileedit1.jpg[/img:3laefvvj] |
fileedit | Hey Otto,
With some changes, this program could be used for editing resource files.
Like Tim, I'm mostly changing them in a txt editor, but with this, it can be done in Xbrowse.
Is it a option to change it for resources ?
Marc |
fileedit | Marc,
Please review FWH\samples\re.prg
It is a work (still) in progress (my fault) but it uses very interesting concepts <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
fileedit | Antonio,
I didn't know it. Looks promissing.
Maybe Mr. Rao can put a Xbrowse into it for edit the resource file
From there on, we can change the sample like every user whiches ?
Marc |
fileedit | Antonio,
one quick update please..
If you change the resource data, the RUN command will always show the initial data.
Could you change that ? I can use it than to show the dialogs instead op Pelles. |
fileedit | Dear Otto
[img:170gblv9]https://s17.postimg.org/o8ukn8v7j/Fileedit.png[/img:170gblv9] |
fileedit | Marc,
[quote="Marc Venken":1ks42xg2]Antonio,
one quick update please..
If you change the resource data, the RUN command will always show the initial data.
Could you change that ? I can use it than to show the dialogs instead op Pelles.[/quote:1ks42xg2]
Here you have it <!-- s:-) --><img src="{SMILIES_PATH}/icon_s... |
fileedit | Thanks.
We test it. |
filelog | Would it be possible to have a crypt possibility to the filelog function and if yes how would the decrypt be handled?
Thanks in advance
Otto |
filelog | Otto,
You can use FWH functions Encrypt() and Decrypt():
[url:2dwig6z4]http://wiki.fivetechsoft.com/doku.php?id=fivewin_function_encrypt[/url:2dwig6z4]
[url:2dwig6z4]http://wiki.fivetechsoft.com/doku.php?id=fivewin_function_decrypt[/url:2dwig6z4]
i.e.:
MemoWrit( "file.log", Encrypt( ... |
filelog | Hello Antonio,
thank you. But I would like to decrypt the text before writing to the disk but after filelog made of all the single array entries a string.
Do you think this is possible?
Thanks in advance
Otto |
filelog | Otto,
Is it for error.log or for another log file ?
What function or code do you use to create the log file ? |
filelog | Hello Antonio,
logfile( Setup():Daten + "protokoll\log" + dtos(date()) + ".txt",;
{ "SaveStandard", ::oZiRg:code,::oZiRg:USER_TIME,::LEdit,::oZiRg:artnum, ::oZiRg:bezeichnun, ::oZiRg:Menge, ::oZiRg:preis } )
I would like to use it for program intern protocols.
The different elements could be of different values.
Th... |
filelog | Otto,
Have you tried with :
{ Encrypt( "SaveStandard" ), Encrypt( ::oZiRg:code ), Encrypt( ::oZiRg:USER_TIME ), Encrypt( ::LEdit ), Encrypt( ::oZiRg:artnum ), ...
each value must be of character type. If not then use Encrypt( cValToChar( ... ) ) |
fill fields in Internet explorer | In Vb u can fill fields
like
On Error Goto ErrHandler
With WebBrowser1.Document.Forms(0)
' Eingabefelder ausfüllen
.elements("username").Value = "Ihr Benutzername"
.elements("password").Value = "Ihr Kennwort"
' Formular abschicken
.Submit
End With
On Error Goto 0
Exit Sub |
filter database using tdata class | I am trying to use James class tdata to filter a database using the below code :
[code:25f14nqd]
//--- meter class
class Tmeter from TData
method new
method browser
method add
method edit
method filterreads
message delete method _delete
Hidden:
data lAdd as logical
endclass
//--------------... |
filter database using tdata class | Ehab,
I see a few things wrong with just a quick look. I have mentioned this before--you MUST use the CLASS clause with methods when defining more than one class in a single PRG. You cannot do:
method new()
You MUST do:
method new() CLASS TMeter
Otherwise the compiler doesn't know which class each method belongs t... |
filter on tdabase | I have a dbf open with tdatabase a with filter and I wish add another filter
But the function FiltraBase make error because probable not run the setfilter command
and I made
I open two area of Tariffe.dbf
1. oTariffeOneDay
2. oTariffeMulti
have the filter
cFilter1 := 'FIELD->GIORNI=1' //oneday
... |
filter on tdabase | Try:
cX := Search_cod(cFilter,aListini)
oTariffeOneDay:setFilter( "IDListNo == " + cX + " .and. giorni=1" ) |
filter on tdabase | Application
===========
Path and name: C:\Work\Errori\tariffe_james\tariffe.Exe (32 bits)
Size: 4,210,176 bytes
Compiler version: Harbour 3.2.0dev (r1703231115)
FiveWin version: FWH 18.12
C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
Windows version: 6.2, Build 9200
Time from start: 0... |
filter or where statement in SQL | Hi Mr. Rao,
I want to clarify my mind.
We can create rowset without any sql statement and next set filter.
[code=fw:mvuibafu]<div class="fw" id="{CB}" style="font-family: monospace;">oRs:=oCn:<span style="color: #000000;">RowSet</span><span style="color: #000000;">(</span><span style="color: #ff0000;">'bigdata'... |
filter or where statement in SQL | Both work.
Let us now see the pros and cons of the two approaches.
1st method:
- Reads the entire table in the beginning itself. If it is a big table and we do not need all the rows lot of time, server and network resources are wasted
- Once read, we can change filters any number of times and there is no strain on se... |
filter or where statement in SQL | Hi Mr. Rao,
[code=fw:39ocvbqt]<div class="fw" id="{CB}" style="font-family: monospace;">oRs := oCn:<span style="color: #000000;">RowSet</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"select * from `customer` where `state` = ? and 'age' between ? and ?"</span>, <span style="color: #0000... |
filter or where statement in SQL | Yes
[code=fw:1jcz9hlw]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRs:<span style="color: #000000;">aParams</span> <span style="color: #B900B9;">// undocumented.</span><br /> </div>[/code:1jcz9hlw]
We request not to use any undocumented data and rely on it in your application program. We... |
filter or where statement in SQL | [quote="nageswaragunupudi":1d32zoiv]Yes
[code=fw:1d32zoiv]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRs:<span style="color: #000000;">aParams</span> <span style="color: #B900B9;">// undocumented.</span><br /> </div>[/code:1d32zoiv]
We request not to use any undocumented data and rely on it in yo... |
filter or where statement in SQL | Hi,
I think oBrw:oDbf is clone and another object.
Another question. When I set to new params with ReQuery(), browse design is gone. Which methods should run after requery? |
filter or where statement in SQL | oBrw:oDbf is the same as (Rowset object). It is not a clone.
When building xbrowse, oBrw:oDbf is set to oRs by using
[code=fw:2mxj7kbh]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">oDbf</span> := oRs<br /> </div>[/code:2mxj7kbh]
After oRs:Requery( aNewParams ), pre... |
filtering combo box according to entered variable | I am filtering a combo box of cities related to the country and filtering the govereners according to cities entered but there is a value must be refreshed to make that filtering active in the recent run . The filter is active in the next run of the module. My question what is missing in my code to make the filtering a... |
filtering combo box according to entered variable | Try using oCbx:SetItem() method.
EMG |
filtering combo box according to entered variable | I tried very hard to filter a combo box based on a get value but with no result . Recently I fixed my values from dbf and also I tried to filter cities belongs to their countries as following but do no work .
[code:qpum2typ]
select 5
use coun
index on upper(coun->coun_name) to coun
database oCoun
@ 45,2 SA... |
filtering combo box according to entered variable | You have to set the filter in the ON CHANGE clause of the first DBCOMBO and then refresh (or refill?) the second DBCOMBO.
EMG |
filtering combo box according to entered variable | Still now I can not state the correct syntax for set filter with dbCombo ? Could you help me more ? |
filtering combo box according to entered variable | First, I don't understand why you have a GET in addition to the combobox. The combobox already contains a GET which in turn contains the selection of the user. I can't see any use for the additional GET containing the same information.
After a selection is made, you need to set a filter and then reload the next combob... |
filtering combo box according to entered variable | Sir I tried the code I could not find the error,it does not work . Sir Let my explain again:
I am not filtering the combobox of countires (just no redundancy) (chosen firstly).
I am filtering the combobox of Cities in the cust file according to their countries(chosen secondly).
I am filtering the combobox of gove... |
filtering combo box according to entered variable | Please explain what you mean when you say "it does not work." What, exactly is the problem?
I suggest a different approach than scanning the array for each record. If you index the file by the field being searched with the UNIQUE clause, then it will be much faster than scanning the array.
Ah, I just spotted a proble... |
filtering combo box according to entered variable | Also, there is no need to pass a workarea. Select(0) gets you the next available workarea. Hardcoding workareas is something to be avoided. It is possible--I never do it.
James |
filtering combo box according to entered variable | "It does not work " Oka the country combobox have no problem . the city appeared for seconds and disappeared also the governers disappeared immediately . select (0) got error message no workarea.
Here down the code I used :
[code:1rtmskzl]
@ 45,2 SAY "&Country" OF oDlg PIXEL
@ 45,50 SAY ":" OF oDlg PIXEL
@ 45,2... |
filtering output to Excel | I am trying to filter DBF to get variable data into excel sheet . I built my filter fine but I got Harbour Exception error .
[code:1xgg2jb9]
function executexcel(oCombo1,oCombo2,oCombo3,oCombo4,oCombo5,oCombo6,oCombo7,oCombo8,oCombo9,oCombo10)
*-------------------------------------------------------------------... |
filtering records in xbrowse | [img:18o99ils]http://img121.imageshack.us/img121/33/untitledin2.png[/img:18o99ils]
That first record is deifferent from my filter condition . I am using go top after set filter and I do not know why I can see different record from my filter scope .
[code:18o99ils]
STATIC FUNCTION mete( oWnd )
... |
filtering records in xbrowse | [b:3b0w4sn4]Ehab Amir Azis wrote[/b:3b0w4sn4]
[code:3b0w4sn4]
SELECT 4
use mete
SET index TO mete2
DBSETFILTER(&bFilter,cFilter)
4->(DBGOTOP())
[/code:3b0w4sn4]
[b:3b0w4sn4]replace with this[/b:3b0w4sn4]
[code:3b0w4sn4]
bFirst := {|| mete->(DbSeek(cFilter, .t. &... |
filtering records in xbrowse | I got that error :
Not exported variable
Application
===========
Path and name: E:\programs\clipper\FWH\sitex\sitex.exe (32 bits)
Size: 1,527,808 bytes
Time from start: 0 hours 0 mins 6 secs
Error occurred at: 16/12/2006, 13:09:05
Error description: Error BASE/1005 No exported variable: BGOTOP
Args... |
filtering using set scope..pls help | I need to adjust the program below to be used with set scope instead of set filter .
[code:1txty6p6]
STATIC FUNCTION mete( oWnd )
*--------------------------
local oChild, oBrw
local nFor
local bFilter := ""
local cFilter := ""
local x := ""
REQUEST ADS
rddRegister( "ADS", ... |
filtering using set scope..pls help | cFilter := "me_mc_serl = "+ x
bFilter = "{||"+cFilter+"}"
DBSETFILTER(bFilter,cFilter)
bFilter isn't a codeblock , macro expansion ?????????????
Frank |
filtering using set scope..pls help | believe me was macro also filter does not work with RDD server . pls if you know the syntax of set scope tell me ? |
filtering using set scope..pls help | DBSETFILTER (&bFilter,cFilter)..... you forgot the "&" in the macro expression |
filtrar mysql .. xbrowse... tdolphin.. no refresca | Estimados, tengo el siguiente problema con un programa, hago una consulta, de inicio, que se refleja en un xbrowse, tal como esta.
cTab_Art:=xServer:Query("SELECT a.*, b.*, c.* FROM tab_art AS a LEFT JOIN tab_fam AS b ON a.fam_art = b.cod_fam LEFT JOIN tab_mar AS c ON a.mar_art = c.cod_mar ORDER BY cod_art ")
y me m... |
filtrar mysql .. xbrowse... tdolphin.. no refresca | Prueba solo cambiando el where con el metodo SetNewFilter de Tdolphin...
[code=fw:95gn5osk]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Do</span> <span style="color: #00C800;">Case</span><br /> <span style="color: #00C800;">case</span> cCod_Fam=<span style="color: #ff... |
filtrar mysql .. xbrowse... tdolphin.. no refresca | Estimado, te agradezco el apoyo, ingrese tu código y me arroja esto..
Time from start: 0 hours 0 mins 25 secs
Error occurred at: 05/07/2018, 15:53:11
Error description: Error MYSQL/1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use ne... |
filtrar mysql .. xbrowse... tdolphin.. no refresca | Si, perdon, quita el ORDER BY de la ultima opcion y prueba si te lo filtra
[code=fw:35udmgzs]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Do</span> <span style="color: #00C800;">Case</span><br /> <span style="color: #00C800;">case</span> cCod_Fam=<span style="color: #... |
filtrar un xbrowse | Hola tengo el siguiente problema en un folder tengo que editar en dos pestañas (en total son tres) distintas de una misma base de datos pero en uno sin restricciones y en la otra solamente las que tengan un determinado campo vacío.
Esto estaba funcionando perfectamente en wbrose (solamente dos pestañas que interactúa... |
filtrar un xbrowse | [code=fw:rgmnc9h0]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">SELECT</span> oPedido:<span style="color: #000000;">DJAIESTA</span> <span style="color: #00C800;">FOR</span> <span style="color: #ff0000;">""</span></div>[/code:rgmnc9h0]
works in wbrowse but does not work in xbrow... |
filtrar una tabla por un campo.... | Hola a todos queria saber si estoy haciendo bien un set filter en una tabla, este es parte del código que utilizo..
1-----SET FILTER TO (ariculos->codigo == clientes->codcli)
2-----articulos->(RECNO())
3-----odlg:REFRESH()
4-----registros()
La linea 1 es donde pretendo realizar el filtrado,la 2 coloco el recno en e... |
filtrar una tabla por un campo.... | Ya lo he solucionado...
Lo que tenia no era del todo correcto, lo modifiqué y puse esto
SET FILTER TO (articulos->codigo==clientes->codcli)
articulos->(DBGOTOP())
odlg:REFRESH()
y ademas lo metí directamente en la funcion registros()
Saludos...
Elías Torres |
filtro en mysq con tdolphin | Estimados, favor de orientar... tengo una tabla con un campo numero de recepción, que es numérico, cuando hago una consulta y lo quiero filtrar..
me muestra todos los registros.. no me respeta la condición del filtro, favor de indicarme que puedo estar haciendo mal.
Mensaje:="Recepciones Periodo.. : "+Transform(cFoli... |
filtro en mysq con tdolphin | Prueba sin las comillas en estas expresiones
[code=fw:1k1qjuyb]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #ff0000;">'"+Alltrim(Str(cFolio1))+"'</span><br /> </div>[/code:1k1qjuyb]
asi
[code=fw:1k1qjuyb]<div class="fw" id="{CB}" style="font-family: monospace;"><br />+Allt... |
filtro en mysq con tdolphin | Mi estimado, saque las comillas y me arrojo error de sintaxis, comando no valido en Mysql.... |
filtro en mysq con tdolphin | Mi estimado, gracias, hice un cambio y funciono bien... error de sintaxis.. pero de quien escribe... si no me dices.. no veo mi error... muchas gracias |
filtro en mysq con tdolphin | Saludos, un codigo limpio y ordenado puede ayudar a resolver mas rapido un error, pero cada quien tiene su estilo...te recomiendo que intentes asi...saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
[code=fw:25hfwhej]<div class="fw" id="{CB}" style="f... |
filtro en mysq con tdolphin | [quote="joseluisysturiz":2firr4pp]Saludos, un codigo limpio y ordenado puede ayudar a resolver mas rapido un error, pero cada quien tiene su estilo...te recomiendo que intentes asi...saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
[code=fw:2firr4pp]... |
filtro en mysq con tdolphin | [quote="Compuin":o2plsukl][quote="joseluisysturiz":o2plsukl]Saludos, un codigo limpio y ordenado puede ayudar a resolver mas rapido un error, pero cada quien tiene su estilo...te recomiendo que intentes asi...saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock... |
filtro en mysq con tdolphin | [quote="kpidata":2jqiqoje]Mi estimado, gracias, hice un cambio y funciono bien... error de sintaxis.. pero de quien escribe... si no me dices.. no veo mi error... muchas gracias[/quote:2jqiqoje]
Saludos
prodrias mirar los ejemplos
testqry4.prg
y
teststm.prg
dentro de dolphin y la forma de como usar variables dentr... |
filtro entre fechas | Colegas, trabajo con Mysql y necesitaría hacer una consulta de la siguiente manera:
Registro
[code=fw:37c4fv0h]<div class="fw" id="{CB}" style="font-family: monospace;"><br />desde = <span style="color: #ff0000;">"20/05/2019"</span>, hasta = <span style="color: #ff0000;">"27/05/2019"</span><br /> </div>[/code:37c4fv0h... |
filtro entre fechas | Horacio:
Recuerda que MySQL maneja todo en tipo string, por lo tanto, si entendí, creo que deberías hacerlo así:
[code=fw:7boqckyi]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">LOCAL</span> desde := DTOS<span style="color: #000000;">(</span>FechaInicial<span style=... |
filtro entre fechas | Gracias por tu respuesta Armando. eso lo sé. Me parece que no se entiende lo que quise consultar. Quiero hacer una consulta en una tabla cuyos campos entre otros se encuentran "desde" y "hasta", quiero filtrarlos de acuerdo a esos campos. Supongamos que tengo un registro en la tabla con estos datos
[code=fw:3uh99up1]<... |
filtro entre fechas | [quote="horacio":2j250170]Gracias por tu respuesta Armando. eso lo sé. Me parece que no se entiende lo que quise consultar. Quiero hacer una consulta en una tabla cuyos campos entre otros se encuentran "desde" y "hasta", quiero filtrarlos de acuerdo a esos campos. Supongamos que tengo un registro en la tabla con estos ... |
filtro entre fechas | Horacio:
Creo ya entendí tu pregunta, son dos campos de tipo fecha que están en el mismo registro, cierto?
Entonces la consulta debe funcionarte:
desde = "20190524" .AND. hasta = "20190527"
A ver si le atine <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Saludos |
filtro entre fechas | Gracias José por tu sugerencia, he visto con un solo campo de fecha, como sería con dos ? Desde ya muchas gracias.
Saludos |
filtro entre fechas | [quote="horacio":16j5lm4b]Gracias José por tu sugerencia, he visto con un solo campo de fecha, como sería con dos ? Desde ya muchas gracias.
Saludos[/quote:16j5lm4b]
Si vas usar 2 campos de fechas para tomar 2 rangos de fechas metes entre parentesis las validaciones, te lo coloco para que lo pruebes, ya que nunca he ... |
filtro entre fechas | Hola, creo que valdría :
( desde <= hasta1 and hasta >= desde1 )
Un saludo. |
filtro entre fechas | [quote="gmart1":32ry7qrv]Hola, creo que valdría :
( desde <= hasta1 and hasta >= desde1 )
Un saludo.[/quote:32ry7qrv]
Con lo que dices no entiendo lo que quieres hacer, si lo que quieres es tomar en cuenta 2 fechas que esten entre un rango incluidas las fechas tomadas, con lo que te puse funciona, pero de verdad ya... |
filtro entre fechas | José, parece que los tiros van por between. Haré unas pruebas y te comento. Gracias
Saludos |
filtro entre fechas | [quote="horacio":7pabqs5c]José, parece que los tiros van por between. Haré unas pruebas y te comento. Gracias
Saludos[/quote:7pabqs5c]
Fue lo que te sugeri desde un principio, gracias... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
filtro entre fechas | Amigos:
Lo que yo entendí es que no se trata de un rango de fechas, para ejemplificar lo que entendí,
supongamos que son campos con nombres, ejemplo:
José Ramírez
Horacio Rocha
Entonces lo que quiere es traer los registros de Horacio Rocha.
Nombre = "Horacio" .AND. Paterno = "Rocha"
Es así?
Saludos |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.