Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Auto Numbering Problem
Message
 
À
29/05/1997 08:44:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00034001
Message ID:
00034032
Vues:
35
>Vfp50 - Auto Numbering Problem
>
>This is my code:
>
>use myview
>= cursorsetprop("buffering",3)
>append blank
>
>inoldarea = select()
>set reprocess to automatic
>if !used("new_num")
> use new_num in 0
>endif
>select new_num
>if rlock()
> repl auto_num with auto_num + 1
> unlock
>endif
>select(inoldarea)
>
>Now - when I go to save the information back to the TABLE from the VIEW, I am getting an ERROR MESSAGE saying…PROPERTY IS INVALID FOR TABLE CURSORS..
>It seems like my VIEW is not the current ControlSource. Can someone help?

why not make the auto_num part of the code a stored procedure and call it from the table field definition?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform