Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EDIT command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00085746
Message ID:
00085799
Vues:
25
>>HI!
>>
>>With my program, if I do query on record #1 (for exemple), my EDIT command display the record #1, #2, #3 and so on.
>>
>>If i do query on record #50, EDIT command display record #50, #51, and so on.
>>
>>Why can display only the record I want, without filtring the record ? (because user want to move throw the rest of the records). My program is writing in DBASE IV (I trying to convert this application to VFP5).
>>
>>Thanks!
>>
>>Frederic Gouin
>
>Frederic,
>
>It sounds like you're using a Format file .FMT. This is the equivelant to a FORM in VFP. You'll probably need to create a form based on the layout of the current dBase IV format file. I think that the SET FORMAT TO command is still available, so you "might" be able to SET FORMAT TO (dbase format file) and then call the edit command, but this should be considered a very temporary work around.
>
>Yes, I use a .FMT and EDIT COMMAND. It's a DBASE IV application that I want to convert in VFP5 (rapidly and temporary). I don't understant why the EDIT COMMAND display the record ONE BY ONE (with no stop). It's display record #1 to record #15000. The only thing I can't do, it's CTRL-ALT-DELETE.
>What can I do ??

Frederic,

Quick and dirty, keep your current format file and SET FORMAT TO (the file). Youll want to convert the format file into a form as soon as possible, but to move forward in your testing, that's the command you need to use otherwise the EDIT command defaults to a CHANGE or BROWSE view depending on what was done last.

I can't make any guarantees on what it will look like, but it "should" work for you temporarily to at least get the code to start working under FoxPro. You've got a lot of work ahead of you to convert it from procedural to OOP. If you just want to get into the Fox enviornment, you might take a look at FoxPro 2.6 for Windows. It's still a procedural language, and is more along the lines of what you're used to from dBase.

HTH,

Rod
Rod Lewis
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform