Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying again for an answer/response
Message
From
24/03/2004 10:15:11
 
 
To
24/03/2004 09:38:52
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00889203
Message ID:
00889253
Views:
16
Hi Mike,

yes, I found it at http://msdn.microsoft.com/vfoxpro/letters/01232004/. Quote: 'Auto-refresh of data from back ends (great for those times when you use identity keys in SQL Server and want to get the key value back right after adding a new row)'

>Hi Tore,
>
>That would be very nice if it did. I could not recall reading anything about this feature in VFP9. Did you see this somewhere?
>
>Mike
>
>>Hi Mike,
>>
>>I am not quite sure, but I believe VFP9 will fill your needs.
>>
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform