The old application that I previously reminded was written in FPD 2.6. And I learned FPD from Help and from a borrowed book (I don't remind title or author). At that moment the internet was very, very expensive, I had few incomes and surely, I couldn't pay for it. So, if I read somewhere, I...
The form where I must use this ListBox is a complex one (it has, maybe, more then 150 controls, a lot of custom methods and properties, tables, cursors and so on). I can't divide it into more forms because of client's express requirement. After a lot of optimizations, it works smoothness and...
Unfortunately, I can't get the code that I spoke about because now it belongs to the client and it is too complicate to get it from him, but I managed to reconstruct something similar.
Please, take a look.
PUBLIC oform1
oform1 = NEWOBJECT("form1")
oform1.Show
RETURN
DEFINE CLASS form1 AS form...
Thank you Mike, Chris!
I'm sure that you are right. Meanwhile I found a workaround that solved my problem.
But, if my memory didn't lie me, I'm pretty sure that in the past I populated ListBox with a complex expression (even with values from different tables) without using SQL.
Maybe, I'm wrong...
I have a ListBox with RowSourceType = 6 (Fields) and tried two ways to set RowSource for it:
[ol 1]
lcRowSource1 = "MyTable.MyFirstField,id"
lcRowSource2 = "alltrim(alltrim(MyTable.MyFirstField) + ' ' + alltrim(MyTable.MySecondField)),id"
[/ol]
If I use lcRowSource1 to initialize ListBox, all...
Sorry, Mike. I think that I was not clear.
I have two forms (Form 1 and Form 2). Both have properties sets like:
AlwaysOnTop = .T.
WindowType = 1 – Modal
Desired behavior:
1. Form 1 was opened and is visible
2. Call the method that belong to Form 1
2.1. Form 1 is hidden
2.2. Form 2 is open...
I have two forms (Form_01 and Form_02). Both have properties sets like:
AlwaysOnTop = .T.
WindowType = 1 – Modal
In a custom method of Form_01 I have the following code:
Local lnParam
lnParam = 2
With Thisform
.Visible = .F.
Do Form Form_02 With lnParam
.Visible = .T.
Endwith
When I call...
I need to populate a web form from vfp. I know that it is possible but I'm not sure what is the best approach. I do not want to pass the data through URL because it's possible to have a lot of character and I'm afraid that I'll reach the limit.
Dear friends,
Thank you all for your detailed suggestions. Certainly they will help me implement a robust permission control system.
Now I just have to start working!
All the best,
Eugen
I’m trying to find a method to implement Role Based Access Control.
Initially, I’ve defined some fixed roles (SuperAdmin, Admin, SuperUser, User, Visitor) and assigned each of them its access rights. Each role has all rights as lower one level plus some specific rights. All was Ok and worked...
Dear friends,
First off all I want to ask you all to excuse me about my silence into last two days. I had a specially event into family (actually was my niece's christening) so I must keep away from my computer.
Second I must tell you that english is not my native language so I am afraid that...
I have a grid based on a cursor.
I want to enable/disable the "Save" button if the user modified or revert to the modifications regards to any cursor's records.
I tried to use SYS(2017) function but without any success.
Even if you set, for all contents in summary band, the properties "Print when" -> "Remove line if blank" to "check"?
Dear Griff, I am only a newby regards to you so I ask you to not mind, but may be...
All the best,
Eugen
After days of trying to find a solution, finally I found one. Thank's to Cathy Pountney for it!!!
I reproduce it because nowadays Foxpro's resources are all less and less , but you can find original hint here: http://cathypountney.blogspot.ro/2008/04/how-do-i-total-fields-for-one-detail.html...
Let's say that the report must list all the invoices and payments associated with its for a customer into a time period.
The report have the folowing elements:
1. Data grouping: invoices.id
2. Detail 1
2.1. Target alias expression: "Items"
2.2. Detail band: items.quantity, items.price and...
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.