Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying again for an answer/response
Message
De
24/03/2004 08:50:17
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
24/03/2004 08:30:43
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00889203
Message ID:
00889209
Vues:
24
Hi Hilmar,

Thanks for the reply.

I have a VFP7 app that does just what you describe. I was hoping that VFP8's AutoInc fields could do away with that approach.

Regards,

Mike


>I was hoping that somebody else gives you a more relevant answer. Anyway, I don't user autoinc fields; instead, I assign a value through a UDF of the table. This works both in the table, and in views based on the table. The UDF will check for the next available number, in a table of sequence numbers.
>
>>I originally posted this question on the "Database, tables, Views..." Category and got no reply so I thought I'd try my luck here. Is my situation/question so unusual? Here goes...
>>
>>
>>I have a view of a table that includes an autoinc field from the underlying table. When I insert a new record into the view, the autoinc field does not autoinc like it does when I insert directly to the table itself.
>>
>>Is there some way that I can have the view get the autoinc value that the table would use without actually adding the record to the table? After all, that would defeat the purpose of my buffered view wouldn't it?
>>
>>VFP8SP1 in Win2000Pro
>>
>>Thanks in advance
>>
>>Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform