Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event in ActiveX control won't allow REPLACE?
Message
From
20/06/2001 12:01:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00521423
Message ID:
00521520
Views:
17
>Cetin,
>
>You might have a point there. I found that if I put a BROWSE command after the SELECT mytable command, then it will save something to the record on a REPLACE.
>
>And when I did a ? faxreq.myfield1 and ? faxreq.myfield2 they came up blank until I either did a GO TOP or BROWSE command after the SELECT mytable which makes it sound even more like I am at EOF.
>
>Hmmmm... I wonder how I am getting to EOF. I only have one record in my table. I have a timer control doing SCAN... ENDSCAN and should be starting at the top of the table. I will check that code again. Thanks for the clue. I hadn't thought of that EOF() condition, but that's probably the problem.

A browse or setting focus to grid implicitly recovers eof() situation. At that point debugout eof('Alias') and recno('alias').
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform