The displaying window, you can an example in these lines:
METHOD PRIVATE VOID Cancelar1_Click( INPUT sender AS System.Object, INPUT e AS System.EventArgs ):
CLOSE().
RETURN.
END METHOD.
Hi all!
Ia have just translated from one computer to another one a project written in Progress but when I open OpenEdge architech to continue programming it most of the simplest methods like CLOSE() give me an error simply saying that it can't understand the sentence but I don't see anything...
@MaximMonin that code would create the temp-table but empty of data no? Where have I to put the name of the table I want to copy?
The label format I want to give to the fields in my temp-table would be db table name + the previous label name, how can I do that?
Thanks for your fast answer!
I think I have not explained myself well. I don't want to copy a temp-table to another one, I want to have the same data contained in a db table in a temp-table but with the labels changed.
Obviously it is impossible to copy data from a db table to a temp-table with COPY-TEMP-TABLE method so...
Hi all!
First I will show you my code, build using OpenEdge 10.2B:
METHOD PUBLIC VOID crearQuery(INPUT sentencia AS CHARACTER, OUTPUT bindingSource1 AS Progress.Data.BindingSource):
DEFINE VARIABLE hTable AS HANDLE NO-UNDO.
DEFINE VARIABLE iField AS INTEGER NO-UNDO...
Hi all!
I have a problem when building a dataset. What I am doing is joining some tables and filtering the data from the first one to give to a DevExpress control that shows all the data available from that dataset. The problem is that sometimes I join table A to table B and it works fine but...
Hi all!
I am doing a method that create a dataset adding relations between different tables and selecting from then some data filtered by where clauses, all this done dynamically because I give the names of the tables, the fields used to add the relations and the where clauses in variables.
So...
Hi all!
I'm working with Progress 10.2B and DevExpress all together and I want to translate all the components from this last one to Spanish but I have not achieved it yet.
In their words I have to put a folder call "es" (that contains .dll with the Spanish translation of their components)...
@RealHeavyDude before trying to apply your code to mine I have try to do a filter to the bindingSource doing bindingSource1:Filter = "CustNum = 8" but it provides the same data and it should work find because the data source for the binding is a DataSet. Any idea if I am able to use...
Hi all!
I have read in ABL reference manual that if you use Integer() statement to convert a date what you receive is the total of days from 1/1/4713 B.C. to today's date.
Anyone knows why 4713 BC? :D
Hi all!
I first show you the code and then I will explain it:
CLASS crearDataSetDinamico:
DEFINE PRIVATE VARIABLE bindingSource1 AS Progress.Data.BindingSource NO-UNDO.
CONSTRUCTOR PUBLIC crearDataSetDinamico (INPUT filtro AS LOGICAL, /* Need filtering? */
INPUT...
Hi all!
I want to copy the data from one table to another one but filtering the data.
Imagine that I have the Customer table from sports2000 and I want to have in another table the same table but only with CustNum = 2.
How can I do that?
Hi all again!
I have a problem with the extent of an array.
I have two combo-box, the first one the names of tables from a DB and when the user select one of these tables I fill-in the other combo-box with the fields from the table selected.
That works fine but if the user change his...
Hi!
I have constructed an openFileDialog for selecting reports to open them in and End-User report designer.
It works fine but when the openFileDialog is opened in the name fill-in, just above type, it puts "openFileDialog1" and I want that fill-in to be empty but I don't say anywhere hot...
I find the solution in another post, this will bt the correct way to assign an extent to an array after defining it:
i = 0.
FOR EACH _file WHERE _file._Hidden = FALSE NO-LOCK:
i = i + 1.
END.
DEFINE VARIABLE arrayvar0 AS System.Object EXTENT NO-UNDO...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.