Thanks guys,
You both were a lot of help. I knew it was something stupid that I was forgetting. I had all the code but just in the wrong order.
I was going insane over it.
Thanks again,
Larry
I tried those they did not work. Unless I am putting it in wrong.
Select * from ids;
where Table = "INVENTORY";
into cursor Stockid
THISFORM.Main.NewStock.Text8.value = transform("Non-Stock" + Nextid)
I also have tried the str("Non-Stock" + Nextid)
I have also tired it with a coma in...
Hi,
I am using VFP 6.0. On a certian form I need to give incremental name numbers to a field and I can't seem to figuer it out.
Here is the situation. The page is for the use of putting in new stock into the inventory. But once in a great while on a job some new stock is used but its not...
Thanks mgagnon,
That code workde in both instances. It gave me the reset and with a select statement I can replace the Date() with the row source name and I get the stored date like I wanted.
Thanks again,
Larry
Thanks Craig for all your help.
I'm going to post another message out there for this problem. If I can get this figured out then the whole program will be up and running again.
If it can't be done then I need to find some other calander to use. Right now I cann't seem to think or find any...
Hi,
I have run into a snag with Date & Time Picker . In some instances (using the Date & Time picker) I need to insert a particular date into the box or to reset the date back to today's date. I'm using VFP 6.0.
When its comming from a table I can use the control source function in the...
Craig,
I was wondering if you might have one more insight for me.
I'm pluging in all the new calanders and changing the code.
However I have run into a snag. In some instances (using the Date & Time picker) I need to insert a particular date into the box.
When its comming from a table I can...
Craig,
Thanks for the help. That new code worked. I was trying the Date() but I did not think of using (this.year, this.month, this.day) along with Date. This works just fine.
You maybe correct about the registery problem. I asked around and found out that when FoxPro was installed on this new...
Craig,
Thanks for the help. When the program starts and pulls up the main form and then it goes to procedure setcalander. On the below code line it throws out this error message.
CODE:
.OleCalendar.Object.Value = .txtDate.Value
MESSAGE:
OLE Exception error. Exception code c0000005. OLE...
Hi,
I have this problem with a program I wrote. On the forms I have this OLE drop down calander on these forms that keeps kicking out an error unable to run file may be currupt.
Now when I wrote this program the pc's were running on 98 OS and now they have been upgraded to XP now the forms...
I am in need of a program calander. I have that active X calander that you can select a date. What I need is a calender that allows you to enter in appointments, reminders, and other things. I tried to create one but this date picker is not working out so well. Maybe I am going about the wrong...
thanks ramani,
That was the answer I knew that it was something simmple. I had tried using {} but I was trying to test it with a date in it. That kept kicking out that error. After steping back and walking away, I took your advice and just tried that simple little thing and it worked.
Larry
Hi,
I have a view that I use to populate a grid. The problem is is that I need only those records that have a date in this date field to show. The view is the data control for this grid. So what I would like to be able to do is to use the views filter tab and say something like...
You can see my delema. The first error is driving me crazy. There is no record 31 the databank is empty for this customer. There are no file access restrictions. No one else is using the program.
My hunch is that these two errors are conected. The ole error, the last time I had this error was...
HI,
I wrote this program and I have it on several different OS (win95, 98, 2000, XP, Me) now I have installed it on a new system windows Mellinum. I have never had any problems with the other systems.
Client clicks on the start icon and recives these two messages.
1) Error loading file - record...
thanks for all your help.
I know that the answer was simple. I was trying
date(datefield-13) and it would not work
but the (datefield -13) was what I needed.
Thanks to all
Larry
OK,
The first date is save in a field. When that date is used again it needs to produce the second date which is to be 13 days earlier than the first date.
Ex: first date is 01/14/00
when it is used the second time then it needs to produce
second date which is 01/01/00 and this new date is...
I know how to use the Date(), -13 to get a date that occured 13 days ago. What I can't figure out is how to do is this, Table A has a field "FirstDate" the client enters this date at some time. Then some time later another client will use this date. This is where I need the help this...
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.