Search found 77 matches: aliases

Return to advanced search

Re: XBrowse and nomodal dialogs

Yes, I'm sure of that because the aliases are generated by the program. So, what do you suggest for switching the workarea on focus change? Please note that bGotFocus seems not to be enough.

EMG
by Enrico Maria Giordano
Fri Oct 09, 2020 5:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1766

Re: memvar

... database object. oCustomer:Name Is actually a buffer that contains a copy of the data in the NAME field. Also you never need to use workareas or aliases with database objects. Here is an example of how to build a database object for a customer database: CLASS TCustomers from TDatabase   Method ...
by James Bott
Fri Jul 17, 2020 10:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: memvar
Replies: 12
Views: 1367

Re: How to use user defined function in XBrowse?

... of column names of the Alias assigned to the browse. FIELDS clause is for any expressions. FIELDS clause is to be used for data from other related Aliases or any complext expressions. When both COLUMNS and FIELDS clauses are speicified, XBrowse places the columns first and then the fields. We can ...
by Max HK
Fri Aug 30, 2019 12:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use user defined function in XBrowse?
Replies: 6
Views: 937

Re: Migrating TDatabase to FWH19.03's from FWH11.08 (Resolved)

1. This is my existing code to use dbfs as database objects with unique aliases. method activate(cAccnFrom, cAccnTo, dFrom, dCOD, oDbCgl, lPrintable) class XBrwGL  local oldarea := select(), dTo, cStr, a_  local oDlg, oBrw, oFntTitl, oMFont1, ...
by nageswaragunupudi
Sat May 04, 2019 11:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating TDatabase to FWH19.03's from FWH11.08
Replies: 15
Views: 2034

Re: Migrating TDatabase to FWH19.03's from FWH11.08 (Resolved)

It appears that you are opening all the files at once, and setting your own aliases. Yup. If any of it failed to be opened there's no point proceeding because all of them are required, at least that's what I think. I also would like to use net_use() to open dbfs ...
by hua
Fri May 03, 2019 3:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating TDatabase to FWH19.03's from FWH11.08
Replies: 15
Views: 2034

Re: Migrating TDatabase to FWH19.03's from FWH11.08 (Resolved)

Hua, I think you may be shooting yourself in the foot. It appears that you are opening all the files at once, and setting your own aliases. Granted this is how we used to do it before using database objects. We also were limited to 255 work areas but we are no longer. Although, you don't ...
by James Bott
Thu May 02, 2019 11:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating TDatabase to FWH19.03's from FWH11.08
Replies: 15
Views: 2034

Migrating TDatabase to FWH19.03's from FWH11.08

1. This is my existing code to use dbfs as database objects with unique aliases. method activate(cAccnFrom, cAccnTo, dFrom, dCOD, oDbCgl, lPrintable) class XBrwGL  local oldarea := select(), dTo, cStr, a_  local oDlg, oBrw, oFntTitl, oMFont1, ...
by hua
Thu May 02, 2019 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating TDatabase to FWH19.03's from FWH11.08
Replies: 15
Views: 2034

Re: To Nages : Explain me how I must make this tdatabase

... are going to have to add it (and troubleshoot it) everywhere you add, delete, or update records. And wherever you open tables. Using and tracking aliases is a nightmare which only gets worse as your program grows. With objects, you have to get used to some change, but in the long run it will take ...
by Silvio.Falconi
Wed Mar 06, 2019 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Explain me how I must make this tdatabase
Replies: 18
Views: 3398

Re: To Nages : Explain me how I must make this tdatabase

... are going to have to add it (and troubleshoot it) everywhere you add, delete, or update records. And wherever you open tables. Using and tracking aliases is a nightmare which only gets worse as your program grows. With objects, you have to get used to some change, but in the long run it will take ...
by James Bott
Tue Mar 05, 2019 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Explain me how I must make this tdatabase
Replies: 18
Views: 3398

Re: trying with tdatabase

... a lot more coding. James, do you remember XBROWSES of Servizi ? We stayed at least 6 days to understand how to display the images because the aliases that created the Txdata class did not allow to show the images the services program is an easy procedure,There are basic services (chair, cot, ...
by Silvio.Falconi
Sat Jan 26, 2019 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: trying with tdatabase
Replies: 34
Views: 4927

Re: A toolbox of netfunctions and tDatabase-tests

... the class name should be plural (Customers for tables) Later you will want to create record classes and they should be singular (Customer) Forget aliases--you will rarely, if ever, need to use them again. #include "fivewin.ch"Function Main()   local oCustomers      oCustomers:= ...
by James Bott
Fri Jan 25, 2019 6:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A toolbox of netfunctions and tDatabase-tests
Replies: 30
Views: 6379

Re: A toolbox of netfunctions and tDatabase-tests

... "CUST." Database objects generate their own alias so you can't specify a different one. Well, actually you can but you shouldn't. Unique aliases are automatically generated each time a database object is opened--and you can open multiple copies of a database object (even in the same function). ...
by James Bott
Fri Jan 25, 2019 4:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A toolbox of netfunctions and tDatabase-tests
Replies: 30
Views: 6379

Re: strange execution of Index

Silvio,

You can't use aliases in an index.
by James Bott
Mon Jan 14, 2019 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange execution of Index
Replies: 12
Views: 2073

Re: Example Business Object (Customer)

... your concept and approach. But in the above example, if there are 200 invoices, the Invoices table is opened 200 times with 200 different aliases and kept open till each of the TInvoice object is explicitly Ended. And it is very likely that these objects are not Ended. Is my understanding ...
by nageswaragunupudi
Fri Nov 30, 2018 2:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Example Business Object (Customer)
Replies: 32
Views: 8676

Re: Sample for Lan network

... xbrowse on the right and a tab under the xbrowse to change the order of the indexes. problems have arisen here because it seems I can not use the aliases to create the xbrowse 4) to do the insertion of a record James has created me a dialog with for example many get but I use the variables ie ...
by Silvio.Falconi
Tue Nov 06, 2018 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sample for Lan network
Replies: 8
Views: 1853
PreviousNext

Return to advanced search