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...
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.
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...
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.
Hello everybody,
I have a report with multiple details bands. Everything is Ok less the summary values. I don't understand why, but I get values multiplied 2 or even 3 times. The totals that I made in detailes footer and group footer are corects.
I must mention that I tried sum fields values...
Hello, my friends!
I need to fire an action when user press "INS" key. I added the following code in KeyPress method of my form, but I got a strange behauvier. What's wrong in code?
Do Case
Case nKeyCode = 22 && NOTHING HAPPENED
Wait Window '"INS" key was pressed!'
Case nKeyCode = 162 &&...
Hello,
I have a form which have ShowTips property set to .T.
If I put a grid on the form and I set grid's ToolTipText property to something it works as I expected, but if I try to set this property to a column, header or control it didn't work.
Do you have any idea how to solve this issues...
1. I added, to a form, a DTPicker control (Tools -> Options -> Controls -> ActiveX Controls -> Microsoft Date and Time Picker Control 6.0).
2. I changed the control’s name from Olecontrol1 in DTPicker.
3. If I changed the ControlSource value from none to a table field's AND if I have no records...
I have a ListBox that was populated with field "Name" from a table (Cities) that has two fields(id, name) order by name.
After appending into table, I want to highlight the listbox's item corresponding the record that was just append.
Can you help me, please?
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.