I created a new simple form contains a grid linked to a table AGENTS. When I run the form then the grid is getting empty despite the table AGENTS contains data. WHY ?
If I link the grid with any other table then grid shows up fully with data.
Very strange to me. Any help will be much appriciated
Here is the code I hope it's clear and readable. I'd like to say that the program is getting inside the loop.
*
mMAN=1.833
mNET=0
mMONTHLY_REMAIN=0
mTOTWT=0
mTOTRT=0
mMONTHLY_V=0
mOK=.F.
mBEFORE_B7=.F.
mSLOT="IPS401"
mCONT_CODE="SLBS2"
*
SELECT TIMESHEET
SET ORDER TO SLOT...
In my program (VFP5) I wrote the following statement inside a loop to sum a certain values in one variable called mMONTHLY_REMAIN :
mNET=0
mMONTHLY_REMAIN=0
DO WHILE .....
..
..
..
mNET=(((INT(ROUND((mMAN_MONTH*1.833),15)*1000))/1000)-mMONTHLY_VACATION)
mMONTHLY_REMAIN =...
An error message says "Autority information could not be founded" show up when I try to open "Active UserDirectory MMC".
But All predefined users can login to the server and have acces to it with their predefined permissions.
Anyway can help to me to get into the "User...
I want to do this:
- Check if a certain directory exist on a hard disk ?
- Check if a certain file exist on a hard disk ?
- Get the file name,file date,file time exist in a certain folder on hard disk.
Thanks for any comment
I'd like to trap two knids of errors. These are :
- Index does not match.
- Validate database.
Does anybody knows how to use ON ERROR command to trap and simulate these two errors.
Any help will be much appriciated.
Thanks
I created a data environment (de) contains two commands(Pc.Mdb) & (Items.mdb) contains two table (Items) and (Pc):
- De
- Pc
- Items
A data grid called (GrdPc) is linked with (Pc) table so the
GrdPc.DataSource=De
GrdPc.DataMember=Pc
The properyies of grid of Allowed...=True for...
In my program I need to calculate the vacation balance.
Within a process there is a field resulted of:
Vac_Balance = (22/12/30)*27
The result should be 1.649 , but it gives me 1.650 ???
When I divided (22/12/30) separtely it gives me (0.06111111111) and then by multiply :
(0.06111111111)*27...
I've a program written in VFP5 and I open the tables at the begining :
use employee in 1
use payrol in 2
use vacations in 3
and I close the tables when the program is end.
Some times "Index does not math...." comes to the user so
is there a way to detect that index is corrupted...
Program error says "object already open" when it reach the statement :
De.RsPc.Open
De is related to the Data environment
RsPc related to a table
Is there a way to know if RsPc is opened or not such as
( if De.RsPc.Open=True )... any comment ?
(VB6)
Thanks
Program error says "object already open" when it reach the statement :
De.RsPc.Open
De is related to the Data environment
RsPc related to a table
Is there a way to know if RsPc is opened or not such as
( if De.RsPc.Open=True )... any comment ?
(VB6)
Thanks
I found a way at the moment of printing without changing the
value of the field as the following :
if left( right(str(12.25),3),1 )="." then
print str(12.25)+"0"
endif
the result will of printing will be 12.250
Thanks for everybody tried to help
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.